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 6221b29 commit af826bbCopy full SHA for af826bb
stdlib/cmake/modules/SwiftSource.cmake
@@ -890,8 +890,11 @@ function(_compile_swift_files
890
# cross-compiling the compiler.
891
list(APPEND swift_compiler_tool_dep "swift-frontend${target_suffix}")
892
893
- # If we aren't cross compiling, also depend on SwiftMacros.
894
- list(APPEND swift_compiler_tool_dep SwiftMacros)
+ # If we aren't cross compiling and have swift-syntax, also depend on
+ # SwiftMacros.
895
+ if(SWIFT_BUILD_SWIFT_SYNTAX)
896
+ list(APPEND swift_compiler_tool_dep SwiftMacros)
897
+ endif()
898
endif()
899
900
# If there are more than one output files, we assume that they are specified
0 commit comments