diff options
author | Slávek Banko <[email protected]> | 2020-07-04 18:28:34 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-04 18:28:48 +0200 |
commit | 42e507dffb13a69e0c5130e045b9394328956d26 (patch) | |
tree | d940628dcde958090e95c82aae647f8707730ffb /ConfigureChecks.cmake | |
parent | b9d4f66a64f1b5d53179d86e1158a1b9d3f5eed4 (diff) | |
download | kima-42e507dffb13a69e0c5130e045b9394328956d26.tar.gz kima-42e507dffb13a69e0c5130e045b9394328956d26.zip |
Fix FTBFS due to missing linked libraries.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 8775f7e47dd473e49ecdd126f427f42f7567673d)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index f327430..ab62c41 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -32,6 +32,7 @@ if( WITH_NVCONTROL ) find_path( NVCONTROL_INCLUDE_DIR NAMES "NVCtrlLib.h" PATH_SUFFIXES "NVCtrl" ) find_library( NVCONTROL_LIBRARIES NAMES XNVCtrl ) + pkg_search_module( XEXT xext ) if( NVCONTROL_LIBRARIES AND NVCONTROL_INCLUDE_DIR ) set( NVCONTROL_FOUND true) @@ -42,4 +43,5 @@ if( WITH_NVCONTROL ) else() tde_message_fatal( "NVidia support has been requested but <NVCtrlLib.h> or libXNVCtrl were not found on your system" ) endif( NVCONTROL_FOUND ) + endif( WITH_NVCONTROL ) |