summaryrefslogtreecommitdiffstats
path: root/ksmserver
diff options
context:
space:
mode:
Diffstat (limited to 'ksmserver')
-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