We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f86137 commit 644b700Copy full SHA for 644b700
cmake/modules/StandaloneOverlay.cmake
@@ -116,13 +116,7 @@ include(SwiftComponents)
116
include(DarwinSDKs)
117
118
find_package(Python2 COMPONENTS Interpreter REQUIRED)
119
-find_package(Python3 COMPONENTS Interpreter)
120
-if(NOT Python3_Interpreter_FOUND)
121
- message(WARNING "Python3 not found, using python2 as a fallback")
122
- add_executable(Python3::Interpreter IMPORTED)
123
- set_target_properties(Python3::Interpreter PROPERTIES
124
- IMPORTED_LOCATION ${Python2_EXECUTABLE})
125
-endif()
+find_package(Python3 COMPONENTS Interpreter REQUIRED)
126
127
# Without this line, installing components is broken. This needs refactoring.
128
swift_configure_components()
0 commit comments