We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0426df + c757d70 commit 702a812Copy full SHA for 702a812
CMakeLists.txt
@@ -899,13 +899,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin")
899
endif()
900
901
find_package(Python2 COMPONENTS Interpreter REQUIRED)
902
-find_package(Python3 COMPONENTS Interpreter)
903
-if(NOT Python3_Interpreter_FOUND)
904
- message(WARNING "Python3 not found, using python2 as a fallback")
905
- add_executable(Python3::Interpreter IMPORTED)
906
- set_target_properties(Python3::Interpreter PROPERTIES
907
- IMPORTED_LOCATION ${Python2_EXECUTABLE})
908
-endif()
+find_package(Python3 COMPONENTS Interpreter REQUIRED)
909
910
#
911
# Find optional dependencies.
0 commit comments