File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1027,11 +1027,13 @@ if(SWIFT_BUILD_SYNTAXPARSERLIB OR SWIFT_BUILD_SOURCEKIT)
1027
1027
set (SOURCEKIT_RUNTIME_DIR lib )
1028
1028
endif ()
1029
1029
add_dependencies (sourcekit-inproc BlocksRuntime dispatch )
1030
- swift_install_in_component (FILES
1031
- $< TARGET_FILE:dispatch>
1032
- $< TARGET_FILE:BlocksRuntime>
1033
- DESTINATION ${SOURCEKIT_RUNTIME_DIR}
1034
- COMPONENT sourcekit-inproc )
1030
+ if ("${SWIFT_HOST_VARIANT_SDK} " MATCHES "OSX|WINDOWS" )
1031
+ swift_install_in_component (FILES
1032
+ $< TARGET_FILE:dispatch>
1033
+ $< TARGET_FILE:BlocksRuntime>
1034
+ DESTINATION ${SOURCEKIT_RUNTIME_DIR}
1035
+ COMPONENT sourcekit-inproc )
1036
+ endif ()
1035
1037
if (SWIFT_HOST_VARIANT_SDK STREQUAL WINDOWS )
1036
1038
swift_install_in_component (FILES
1037
1039
$< TARGET_LINKER_FILE:dispatch>
You can’t perform that action at this time.
0 commit comments