summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-08-18 20:53:07 +0900
committerMichele Calgaro <[email protected]>2024-08-18 20:53:07 +0900
commit2bc7176522c8cb2b154894312e2687686d7885d8 (patch)
tree24bae54df326c0f4b7bd61899695b1fd6f99d137 /ConfigureChecks.cmake
parent1fe99ddf2ea7b62d4a0c4afc1c47d44372aa8e96 (diff)
downloadtdebase-2bc7176522c8cb2b154894312e2687686d7885d8.tar.gz
tdebase-2bc7176522c8cb2b154894312e2687686d7885d8.zip
twin compton: use libpcre2 instead of libpcre
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake12
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( )