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 72434ac commit 8a16c8bCopy full SHA for 8a16c8b
lib/Macros/CMakeLists.txt
@@ -31,6 +31,12 @@ function(add_swift_macro_library name)
31
# Add the library.
32
add_pure_swift_host_library(${name} SHARED ${ASML_SOURCES})
33
34
+ # If we don't have the Swift swift parser, bail out, because the above
35
+ # add_pure_swift_host_library did nothing.
36
+ if (NOT SWIFT_SWIFT_PARSER)
37
+ return()
38
+ endif()
39
+
40
# Install into the plugin directory.
41
set_target_properties(${name}
42
PROPERTIES
0 commit comments