diff options
author | OBATA Akio <[email protected]> | 2019-08-15 18:14:50 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-08-15 22:36:13 +0200 |
commit | a28e7b3c1c287b096e6e4a79cd2e54d66f5d8302 (patch) | |
tree | b452393c674d6519b2ce40f01e2ff19b4bab69f3 /ConfigureChecks.cmake | |
parent | b6e5f2a72cc46eac52f772116466a00a39ec994f (diff) | |
download | tdeaddons-a28e7b3c1c287b096e6e4a79cd2e54d66f5d8302.tar.gz tdeaddons-a28e7b3c1c287b096e6e4a79cd2e54d66f5d8302.zip |
Fix to detect xmms properly
Signed-off-by: OBATA Akio <[email protected]>
(cherry picked from commit 64ba1818fe4c0e1ba110574459b8a11fa54e2cf0)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 444e48e..172d05b 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -35,9 +35,10 @@ if( BUILD_KICKER_APPLETS ) check_include_file( "fcntl.h" HAVE_FCNTL_H ) if( WITH_XMMS ) - # FIXME: xmms is realy outdated, so check if this is really works - check_library_exists( xmms_remote_is_running xmms HAVE_XMMSLIB ) - check_symbol_exist( xmms_remote_is_running "xmms/xmmsctrl.h" HAVE_XMMS ) + check_library_exists( xmms xmms_remote_is_running "" HAVE_XMMS_LIB ) + tde_save_and_set( CMAKE_REQUIRED_LIBRARIES "xmms" ) + check_symbol_exists( xmms_remote_is_running "xmms/xmmsctrl.h" HAVE_XMMS ) + tde_restore( CMAKE_REQUIRED_LIBRARIES ) if( HAVE_XMMS_LIB AND HAVE_XMMS ) set( XMMS_LIBRARIES xmms ) else( HAVE_XMMS ) |