mirror of
https://git.freebsd.org/ports.git
synced 2025-05-03 20:16:39 -04:00
14 lines
610 B
Text
14 lines
610 B
Text
--- extern/nlopt/CMakeLists.txt.orig 2024-11-14 05:30:22 UTC
|
|
+++ extern/nlopt/CMakeLists.txt
|
|
@@ -324,9 +324,9 @@ if (NLOPT_PYTHON)
|
|
|
|
if (NLOPT_PYTHON)
|
|
if (CMAKE_VERSION VERSION_LESS 3.26)
|
|
- find_package (Python 3.6 COMPONENTS Interpreter Development)
|
|
+ find_package (Python ${FREEBSD_PYTHON_VER} EXACT COMPONENTS Interpreter Development)
|
|
else ()
|
|
- find_package (Python 3.6 COMPONENTS Interpreter Development.Module Development.SABIModule)
|
|
+ find_package (Python ${FREEBSD_PYTHON_VER} EXACT COMPONENTS Interpreter Development.Module Development.SABIModule)
|
|
endif ()
|
|
|
|
if (Python_FOUND)
|