Find the correct python, please

This commit is contained in:
Maarten L. Hekkelman
2026-01-31 13:34:10 +01:00
parent 8172a136d6
commit 2f997664c6
2 changed files with 1 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ if(CMAKE_VERSION GREATER_EQUAL 3.30)
cmake_policy(SET CMP0167 NEW)
endif()
find_package(Python REQUIRED COMPONENTS Interpreter Development)
find_package(Python 3.13 REQUIRED COMPONENTS Interpreter Development)
if(NOT EXISTS ${Python_LIBRARIES})
message(FATAL_ERROR "The python library ${Python_LIBRARIES} does not seem to exist?")