diff options
author | Michele Calgaro <[email protected]> | 2024-08-18 20:53:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-08-18 23:20:10 +0900 |
commit | 51fdc21a48e4e576f83a778a93d3f1e52732d88a (patch) | |
tree | 0f7dde76082772729b5d1a567e8e269dbb1a1058 /ConfigureChecks.cmake | |
parent | e2ed07078655c4ee47d532f0d72d4320cbfdce42 (diff) | |
download | tdebase-51fdc21a48e4e576f83a778a93d3f1e52732d88a.tar.gz tdebase-51fdc21a48e4e576f83a778a93d3f1e52732d88a.zip |
twin compton: use libpcre2 instead of libpcre
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 2bc7176522c8cb2b154894312e2687686d7885d8)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index e038287c3..771d5b1f7 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -275,12 +275,12 @@ if( WITH_LIBCONFIG ) endif( ) -# pcre (twin/compton-tde) -if( WITH_PCRE ) - pkg_search_module( LIBPCRE libpcre ) - if( NOT LIBPCRE_FOUND ) - tde_message_fatal( "pcre support is requested, but not found on your system" ) - endif( NOT LIBPCRE_FOUND ) +# pcre2 (twin/compton-tde) +if( WITH_PCRE2 ) + pkg_check_modules( LIBPCRE2 libpcre2-8 libpcre2-posix ) + if( NOT LIBPCRE2_FOUND ) + tde_message_fatal( "pcre2 support was requested, but not found on your system" ) + endif( ) endif( ) |