Skip to content

Commit

Permalink
See if we can force windows cmake to use only python 3.11 and nothing…
Browse files Browse the repository at this point in the history
… higher.
  • Loading branch information
Kasper Peeters committed Sep 28, 2024
1 parent e6019bc commit 8511404
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 3.11 REQUIRED COMPONENTS Interpreter Development)
find_package(Python 3.11 EXACT REQUIRED COMPONENTS Interpreter Development)
else()
find_package(Python REQUIRED COMPONENTS Interpreter Development)
endif()
Expand Down

0 comments on commit 8511404

Please sign in to comment.