summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-06-14 03:49:01 +0200
committerSlávek Banko <[email protected]>2015-06-14 03:49:01 +0200
commit5e5f4837b51501b9e0b1685f96ded12a1d93c1d8 (patch)
treee7ecdaef433d7a3359db4643755ab82c96589969 /ConfigureChecks.cmake
parent08122b137e76ffcf7067f634a7668002732e11d9 (diff)
downloadtdebase-5e5f4837b51501b9e0b1685f96ded12a1d93c1d8.tar.gz
tdebase-5e5f4837b51501b9e0b1685f96ded12a1d93c1d8.zip
Fix detection of XSS in Xext with CMake build
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 18009f26c..ee7350711 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -258,8 +258,9 @@ if( WITH_XSCREENSAVER )
if( HAVE_XSSLIB )
pkg_search_module( XSS xscrnsaver )
else( )
- check_library_exists( Xext XScreenSaverQueryInfo "" HAVE_XSSLIB )
- if( HAVE_XSSLIB )
+ check_library_exists( Xext XScreenSaverQueryInfo "" HAVE_XEXT_XSS )
+ if( HAVE_XEXT_XSS )
+ set( HAVE_XSSLIB 1 )
pkg_search_module( XSS xext )
endif( )
endif( )