summaryrefslogtreecommitdiffstats
path: root/ksmserver/ConfigureChecks.cmake
diff options
context:
space:
mode:
authoraneejit1 <[email protected]>2020-07-07 23:06:38 +0000
committerSlávek Banko <[email protected]>2020-07-29 17:18:20 +0200
commit70da812fd2e79933de4f3863aa866ff25a7c9c6e (patch)
tree05974b78c59063c772f84389d2585403bb5dbe9f /ksmserver/ConfigureChecks.cmake
parentf81582deb338e236982cf536d691a80df2111a99 (diff)
downloadtdebase-70da812fd2e79933de4f3863aa866ff25a7c9c6e.tar.gz
tdebase-70da812fd2e79933de4f3863aa866ff25a7c9c6e.zip
Ask pkg-config where libICE is before testing for _IceTransNoListen
Signed-off-by: aneejit1 <[email protected]> (cherry picked from commit 24a8daa732cca8b4cfbc882334c61ff42bd52689)
Diffstat (limited to 'ksmserver/ConfigureChecks.cmake')
-rw-r--r--ksmserver/ConfigureChecks.cmake3
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