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 103f716 commit 8354c86Copy full SHA for 8354c86
lib/ASTGen/CMakeLists.txt
@@ -71,6 +71,8 @@ set(compile_options
71
"SHELL:-Xcc -UIBOutlet -Xcc -UIBAction -Xcc -UIBInspectable"
72
)
73
74
-foreach(target swiftASTGen swiftLLVMJSON)
75
- target_compile_options(${target} PRIVATE ${compile_options})
76
-endforeach()
+if(SWIFT_BUILD_SWIFT_SYNTAX)
+ foreach(target swiftASTGen swiftLLVMJSON)
+ target_compile_options(${target} PRIVATE ${compile_options})
77
+ endforeach()
78
+endif()
0 commit comments