Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 21:09:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230070] devel/cmake: check_library_exists fails to find libX11/XOpenIM
Message-ID:  <bug-230070-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230070

            Bug ID: 230070
           Summary: devel/cmake: check_library_exists fails to find
                    libX11/XOpenIM
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)

The attached CMakeLists.txt fails to find libX11.

'find_package(X11 REQUIRED)' sets
X11_LIB_SEARCH_PATH=3D/usr/pkg/xorg/lib;/usr/local/lib;/usr/X11R7/lib;/usr/=
openwin/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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230070-7788>