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 @@ -1045,11 +1045,13 @@ if(SWIFT_BUILD_SYNTAXPARSERLIB OR SWIFT_BUILD_SOURCEKIT)
1045
1045
set (SOURCEKIT_RUNTIME_DIR lib )
1046
1046
endif ()
1047
1047
add_dependencies (sourcekit-inproc BlocksRuntime dispatch )
1048
- swift_install_in_component (FILES
1049
- $< TARGET_FILE:dispatch>
1050
- $< TARGET_FILE:BlocksRuntime>
1051
- DESTINATION ${SOURCEKIT_RUNTIME_DIR}
1052
- COMPONENT sourcekit-inproc )
1048
+ if ("${SWIFT_HOST_VARIANT_SDK} " MATCHES "OSX|WINDOWS" )
1049
+ swift_install_in_component (FILES
1050
+ $< TARGET_FILE:dispatch>
1051
+ $< TARGET_FILE:BlocksRuntime>
1052
+ DESTINATION ${SOURCEKIT_RUNTIME_DIR}
1053
+ COMPONENT sourcekit-inproc )
1054
+ endif ()
1053
1055
if (SWIFT_HOST_VARIANT_SDK STREQUAL WINDOWS )
1054
1056
swift_install_in_component (FILES
1055
1057
$< TARGET_LINKER_FILE:dispatch>
You can’t perform that action at this time.
0 commit comments