Skip to content

Commit

Permalink
need python 3.8 - 3.11, might as well enforce it?? (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjinweigu authored Sep 22, 2024
1 parent b46aaca commit c777ca7
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 @@ -52,7 +52,7 @@ ENDIF ()

# ======== Python Checks ========
#checks if python is present
find_package(Python3 COMPONENTS Interpreter)
find_package(Python3 3.8...3.11 REQUIRED COMPONENTS Interpreter)
IF (Python3_VERSION VERSION_LESS 3.8)
message(FATAL_ERROR "❌ Python version 3.8 or greater is required")
ELSEIF (Python3_VERSION VERSION_GREATER_EQUAL 3.12)
Expand Down

0 comments on commit c777ca7

Please sign in to comment.