blob: fff0caf401016c43b9f91be36adc02c5cfb6c4d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- CMakeLists.txt.orig 2023-05-21 04:59:24 UTC
+++ CMakeLists.txt
@@ -23,7 +23,7 @@ set(CMAKECONFIG_INSTALL_DIR "${ambit_INSTALL_CMAKEDIR}
#if (NOT TARGET Python::Module)
set(Python_ADDITIONAL_VERSIONS 3.11 3.10 3.9 3.8 3.7) # adjust with CMake minimum FindPythonInterp
- find_package(Python 3.7 COMPONENTS Interpreter Development NumPy REQUIRED)
+ find_package(Python ${FREEBSD_PYTHON_VER} EXACT COMPONENTS Interpreter Development NumPy REQUIRED)
message(STATUS "Found Python ${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}: ${Python_EXECUTABLE} (found version ${Python_VERSION})")
#endif()
|