Date: Thu, 31 Dec 2020 00:12:55 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 252277] cmake find_package(python3...) fails to get default python version Message-ID: <bug-252277-7788-7nCWs4X3bX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252277-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-252277-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252277 --- Comment #2 from Shane <FreeBSD@ShaneWare.Biz> --- Against cmake, any port that calls find_package(python3 ...) will get the w= rong 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 versio= n, 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 ev= ery port using cmake and python. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252277-7788-7nCWs4X3bX>