[Bug 252277] cmake find_package(python3...) fails to get default python version
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 31 00:12:56 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252277
--- Comment #2 from Shane <FreeBSD at ShaneWare.Biz> ---
Against cmake, any port that calls find_package(python3 ...) will get the wrong
version. At least when more than one python version is installed.
The old method using find_package(PythonInterp ...) still works as expected.
The newer method find_package(Python3 ...) does not find the default version,
it always finds the newest python version. This differs from the previous
methods behaviour.
This new method was added to cmake v3.12 and has not yet been adopted by every
port using cmake and python.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list