diff options
author | aneejit1 <aneejit1@gmail.com> | 2020-07-07 23:06:38 +0000 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-29 17:18:20 +0200 |
commit | 70da812fd2e79933de4f3863aa866ff25a7c9c6e (patch) | |
tree | 05974b78c59063c772f84389d2585403bb5dbe9f | |
parent | f81582deb338e236982cf536d691a80df2111a99 (diff) | |
download | tdebase-70da812fd2e79933de4f3863aa866ff25a7c9c6e.tar.gz tdebase-70da812fd2e79933de4f3863aa866ff25a7c9c6e.zip |
Ask pkg-config where libICE is before testing for _IceTransNoListen
Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 24a8daa732cca8b4cfbc882334c61ff42bd52689)
-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 |