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.
1 parent 09141ce commit c757d70Copy full SHA for c757d70
CMakeLists.txt
@@ -894,13 +894,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin")
894
endif()
895
896
find_package(Python2 COMPONENTS Interpreter REQUIRED)
897
-find_package(Python3 COMPONENTS Interpreter)
898
-if(NOT Python3_Interpreter_FOUND)
899
- message(WARNING "Python3 not found, using python2 as a fallback")
900
- add_executable(Python3::Interpreter IMPORTED)
901
- set_target_properties(Python3::Interpreter PROPERTIES
902
- IMPORTED_LOCATION ${Python2_EXECUTABLE})
903
-endif()
+find_package(Python3 COMPONENTS Interpreter REQUIRED)
904
905
#
906
# Find optional dependencies.
0 commit comments