summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authoraneejit1 <[email protected]>2020-06-10 20:42:24 +0000
committerMichele Calgaro <[email protected]>2020-06-26 17:36:36 +0900
commit25e388d0c56cfc108369a3e47f6f4a0faf0f4089 (patch)
treeaa442fd10e9a486ebf78d4fe95935349332ae57e /ConfigureChecks.cmake
parent6036470326e03e262bcd8e582acd849c0631e9c7 (diff)
downloadkmplayer-25e388d0c56cfc108369a3e47f6f4a0faf0f4089.tar.gz
kmplayer-25e388d0c56cfc108369a3e47f6f4a0faf0f4089.zip
Add library paths to link_directories and supply correct Xtest check/variables
This resolves bug 3130 Signed-off-by: aneejit1 <[email protected]> (cherry picked from commit abed871291535bede858e6f6acd4a4847b536e5b)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 4326a17..5cb46aa 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -60,11 +60,12 @@ endif( WITH_EXPAT )
##### check for XTest
if( WITH_XTEST )
-if( X11_XTest_FOUND )
+ pkg_search_module( X11_XTEST xtst )
+ if( X11_XTest_FOUND )
set( HAVE_XTEST 1 )
- else()
+ else()
tde_message_fatal( "XTest support has been requested but xtest was not found on your system." )
-endif()
+ endif()
endif( WITH_XTEST )