[Bug 262109] Mk/Uses/python.mk: Improve CMake/Python integration
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 262109] Mk/Uses/python.mk: coddle cmake with more hints"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Sep 2023 17:22:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262109 --- Comment #20 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa9736e3e5f6856f5eb5e26837169b0f6022eec8 commit aa9736e3e5f6856f5eb5e26837169b0f6022eec8 Author: John Hein <jcfyecrayz@liamekaens.com> AuthorDate: 2023-09-04 16:23:06 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-09-04 17:21:35 +0000 python.mk: Improve CMake/Python integration Suport FindPython.cmake, FindPython3.cmake, FindPython2.cmake modules by adding Python{,2,3}_EXECUTABLE to CMAKE_ARGS in python.mk. CMake supports more than one way to search for python. Currently python.mk passes -DPython_ADDITIONAL_VERSIONS=${PYTHON_VER} to help FindPython{Interp,Libs}.cmake modules "find" the version of python that a port build wants to use. The FindPython{,2,3}.cmake modules don't know anything about Python_ADDITIONAL_VERSIONS but use Python{,2,3}_EXECUTABLE as the hint. PR: 262109 Mk/Uses/python.mk | 2 ++ 1 file changed, 2 insertions(+) -- You are receiving this mail because: You are on the CC list for the bug.