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 e85dfbd commit b6e9c9cCopy full SHA for b6e9c9c
stdlib/cmake/modules/SwiftSource.cmake
@@ -856,7 +856,10 @@ function(_compile_swift_files
856
if(SWIFT_INCLUDE_TOOLS AND NOT BOOTSTRAPPING_MODE STREQUAL "CROSSCOMPILE")
857
# Depend on the binary itself, in addition to the symlink, unless
858
# cross-compiling the compiler.
859
- set(swift_compiler_tool_dep "swift-frontend${target_suffix}")
+ list(APPEND swift_compiler_tool_dep "swift-frontend${target_suffix}")
860
+
861
+ # If we aren't cross compiling, also depend on SwiftMacros.
862
+ list(APPEND swift_compiler_tool_dep SwiftMacros)
863
endif()
864
865
# If there are more than one output files, we assume that they are specified
0 commit comments