Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-a-barnes authored Jan 24, 2025
1 parent e34bb34 commit 4288ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if( python_plugins )
find_package(Python ${python_version} EXACT COMPONENTS Interpreter Development)
else()
# Find the latest Python version
find_package(Python COMPONENTS Interpreter Development)
find_package(Python 3 REQUIRED COMPONENTS Interpreter Development)
endif()

# Python plugins do not currently support PyPy
Expand All @@ -127,7 +127,7 @@ elseif( use_Python )
find_package(Python ${python_version} EXACT COMPONENTS Interpreter)
else()
# Find the latest Python version
find_package(Python COMPONENTS Interpreter)
find_package(Python 3 REQUIRED COMPONENTS Interpreter)
endif()

endif()
Expand Down

0 comments on commit 4288ed1

Please sign in to comment.