maintainer-feedback requested: [Bug 274834] devel/cmake-core: Fails to find cmake config files in /usr/local/lib/cmake
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 31 17:27:22 GMT 2023
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (group)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 274834: devel/cmake-core: Fails to find cmake config files in
/usr/local/lib/cmake
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274834
--- Description ---
This script fails to find OpenCASCADE (cad/opencascade):
> cmake_minimum_required(VERSION 3.26)
> #set(CMAKE_PREFIX_PATH "/usr/local/lib")
> find_package(OpenCASCADE CONFIG REQUIRED)
The second line needs to be un-commented as a workaround, which shouldn't be
the case.
cmake obviously doesn't look for config files in /usr/local/lib/cmake.
I am not sure what is the correct search path in general, but it should either
include /usr/local/lib/cmake by default, or all packages that install config
files into /usr/local/lib/cmake should be changed to move them into the
searched location.
Otherwise this would cause problems for many ports.
cmake-core-3.26.1_3
More information about the kde-freebsd
mailing list