[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274834
Bug ID: 274834
Summary: devel/cmake-core: Fails to find cmake config files in
/usr/local/lib/cmake
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kde at FreeBSD.org
Reporter: yuri at freebsd.org
Assignee: kde at FreeBSD.org
Flags: maintainer-feedback?(kde at FreeBSD.org)
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list