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 b42402b + 6362415 commit 4902ff5Copy full SHA for 4902ff5
libswift/CMakeLists.txt
@@ -60,14 +60,14 @@ else()
60
# Bootstrapping - stage 1, using the compiler from level 0
61
62
add_libswift(libswift-bootstrapping1
63
- SWIFT_EXEC "${CMAKE_BINARY_DIR}/bootstrapping0/bin/swiftc"
+ SWIFT_EXEC $<TARGET_FILE_DIR:swift-frontend-bootstrapping0>/swiftc${CMAKE_EXECUTABLE_SUFFIX}
64
DEPENDS ${b0_deps}
65
BOOTSTRAPPING 1)
66
67
# The final build, using the compiler from stage 1
68
69
add_libswift(libswift
70
- SWIFT_EXEC "${CMAKE_BINARY_DIR}/bootstrapping1/bin/swiftc"
+ SWIFT_EXEC $<TARGET_FILE_DIR:swift-frontend-bootstrapping1>/swiftc${CMAKE_EXECUTABLE_SUFFIX}
71
DEPENDS ${b1_deps})
72
73
if(LIBSWIFT_BUILD_MODE STREQUAL "BOOTSTRAPPING-WITH-HOSTLIBS")
0 commit comments