Commit 0c4ad7f1 authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

Fix finding _IceTransNoListen.

This is a patch carried by FreeBSD for a long time; I may have submitted it upstream before.

libICE is **not** in the standary library search paths on FreeBSD, so using the straight-up name *ICE* in `check_library_exists()` won't find it -- even though libICE has previously been found, probably by `find_package(X11)`

Use the full path, which is what `${X11_ICE_LIB}` should hold.
parent 08fe4b70
check_library_exists(ICE _IceTransNoListen "" HAVE__ICETRANSNOLISTEN)
check_library_exists("${X11_ICE_LIB}" _IceTransNoListen "" HAVE__ICETRANSNOLISTEN)
configure_file(config-ksmserver.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksmserver.h)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment