Ask pkg-config where libICE is before testing for _IceTransNoListen

Signed-off-by: aneejit1 <aneejit1@gmail.com>
(cherry picked from commit 24a8daa732)
pull/182/head
aneejit1 4 years ago committed by Slávek Banko
parent f81582deb3
commit 70da812fd2
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -9,4 +9,5 @@
#
#################################################
check_library_exists( ICE _IceTransNoListen "" HAVE__ICETRANSNOLISTEN )
pkg_search_module( LIBICE ice )
check_library_exists( ICE _IceTransNoListen "${LIBICE_LIBRARY_DIRS}" HAVE__ICETRANSNOLISTEN )
Loading…
Cancel
Save