[Bug 252277] cmake find_package(python3...) fails to get default python version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 24 10:57:08 BST 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252277

--- Comment #6 from Shane <FreeBSD at ShaneWare.Biz> ---
Created attachment 224396
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224396&action=edit
test port makefile

Actually it would be better from a port, to use the ports env

Make a new port dir (misc/cmakepytest) and put the CmakeLists.txt in files as
files/CMakeLists.txt.in

With this I see three versions --

-- Found PythonInterp: /usr/local/bin/python3.6 (found suitable version
"3.6.12", minimum required is "3.6") 
-- Found PythonLibs: /usr/local/lib/libpython3.7m.so (found suitable version
"3.7.9", minimum required is "3.6") 
-- Found Python3: /usr/local/bin/python3.9 (found suitable version "3.9.0",
minimum required is "3.6") found components: Interpreter Development
Development.Module Development.Embed

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


More information about the kde-freebsd mailing list