maintainer-feedback requested: [Bug 230070] devel/cmake: check_library_exists fails to find libX11/XOpenIM
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 26 22:09:41 BST 2018
Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 230070: devel/cmake: check_library_exists fails to find libX11/XOpenIM
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230070
--- Description ---
The attached CMakeLists.txt fails to find libX11.
'find_package(X11 REQUIRED)' sets
X11_LIB_SEARCH_PATH=/usr/pkg/xorg/lib;/usr/local/lib;/usr/X11R7/lib;/usr/openwi
n/lib;/opt/X11/lib
Despite the correct path /usr/local/lib being in X11_LIB_SEARCH_PATH
check_library_exists still fails to find X11 and XOpenIM in it.
Uncommenting the SET statement allows check_library_exists to find it. This is
weird: shouldn't it have looked in each directory?
More information about the kde-freebsd
mailing list