diff options
author | aneejit1 <[email protected]> | 2020-07-07 23:06:38 +0000 |
---|---|---|
committer | aneejit1 <[email protected]> | 2020-07-27 19:23:54 +0000 |
commit | 24a8daa732cca8b4cfbc882334c61ff42bd52689 (patch) | |
tree | cf4d8ebbbb8aad8f8a92b934a9ed0a2fb32bfb8e /ksmserver | |
parent | 3abd9e912c4b1ed6abd0ff1f440f2105fcbdf4a2 (diff) | |
download | tdebase-24a8daa732cca8b4cfbc882334c61ff42bd52689.tar.gz tdebase-24a8daa732cca8b4cfbc882334c61ff42bd52689.zip |
Ask pkg-config where libICE is before testing for _IceTransNoListen
Signed-off-by: aneejit1 <[email protected]>
Diffstat (limited to 'ksmserver')
-rw-r--r-- | ksmserver/ConfigureChecks.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ksmserver/ConfigureChecks.cmake b/ksmserver/ConfigureChecks.cmake index 4f8cf7978..f7eda81b7 100644 --- a/ksmserver/ConfigureChecks.cmake +++ b/ksmserver/ConfigureChecks.cmake @@ -9,4 +9,5 @@ # ################################################# -check_library_exists( ICE _IceTransNoListen "" HAVE__ICETRANSNOLISTEN )
\ No newline at end of file +pkg_search_module( LIBICE ice ) +check_library_exists( ICE _IceTransNoListen "${LIBICE_LIBRARY_DIRS}" HAVE__ICETRANSNOLISTEN )
\ No newline at end of file |