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 @@ -1028,11 +1028,13 @@ if(SWIFT_BUILD_SYNTAXPARSERLIB OR SWIFT_BUILD_SOURCEKIT)
1028
1028
set (SOURCEKIT_RUNTIME_DIR lib )
1029
1029
endif ()
1030
1030
add_dependencies (sourcekit-inproc BlocksRuntime dispatch )
1031
- swift_install_in_component (FILES
1032
- $< TARGET_FILE:dispatch>
1033
- $< TARGET_FILE:BlocksRuntime>
1034
- DESTINATION ${SOURCEKIT_RUNTIME_DIR}
1035
- COMPONENT sourcekit-inproc )
1031
+ if ("${SWIFT_HOST_VARIANT_SDK} " MATCHES "OSX|WINDOWS" )
1032
+ swift_install_in_component (FILES
1033
+ $< TARGET_FILE:dispatch>
1034
+ $< TARGET_FILE:BlocksRuntime>
1035
+ DESTINATION ${SOURCEKIT_RUNTIME_DIR}
1036
+ COMPONENT sourcekit-inproc )
1037
+ endif ()
1036
1038
if (SWIFT_HOST_VARIANT_SDK STREQUAL WINDOWS )
1037
1039
swift_install_in_component (FILES
1038
1040
$< TARGET_LINKER_FILE:dispatch>
You can’t perform that action at this time.
0 commit comments