Skip to content

Commit

Permalink
Fail early if python not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Sep 27, 2024
1 parent fffa589 commit dff5a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ if(WIN32)
)
message(STATUS "Using Python root dir ${PYTHON_HINT}")
set(Python_ROOT_DIR ${PYTHON_HINT})
find_package(Python REQUIRED COMPONENTS Interpreter Development)
find_package(Python 3.11 REQUIRED COMPONENTS Interpreter Development)
else()
find_package(Python REQUIRED COMPONENTS Interpreter Development)
endif()
Expand Down

0 comments on commit dff5a68

Please sign in to comment.