summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-14 03:49:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-14 03:49:26 +0200
commitf3f4cad2713fd7adb639f449f61befa77d4763b8 (patch)
tree533d161e0510172ad09182d06d0e05dec3339d5b
parent46b20a55775c6c44591ff2d2d423399887ebc806 (diff)
downloadtdebase-f3f4cad2713fd7adb639f449f61befa77d4763b8.tar.gz
tdebase-f3f4cad2713fd7adb639f449f61befa77d4763b8.zip
Fix detection of XSS in Xext with CMake build
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 5e5f4837b51501b9e0b1685f96ded12a1d93c1d8)
-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( )