From 5e5f4837b51501b9e0b1685f96ded12a1d93c1d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 14 Jun 2015 03:49:01 +0200 Subject: Fix detection of XSS in Xext with CMake build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ConfigureChecks.cmake | 5 +++-- 1 file 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( ) -- cgit v1.2.1