File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -977,12 +977,24 @@ if(SWIFT_NEED_EXPLICIT_LIBDISPATCH)
977
977
add_dependencies (dispatch libdispatch-install )
978
978
add_dependencies (BlocksRuntime libdispatch-install )
979
979
980
+ if (SWIFT_HOST_VARIANT_SDK STREQUAL WINDOWS )
981
+ set (SOURCEKIT_RUNTIME_DIR bin )
982
+ else ()
983
+ set (SOURCEKIT_RUNTIME_DIR lib )
984
+ endif ()
980
985
swift_install_in_component (sourcekit-inproc
981
986
FILES
982
987
$< TARGET_FILE:dispatch>
983
988
$< TARGET_FILE:BlocksRuntime>
984
- DESTINATION
985
- lib${LLVM_LIBDIR_SUFFIX} )
989
+ DESTINATION ${SOURCEKIT_RUNTIME_DIR} )
990
+ if (SWIFT_HOST_VARIANT_SDK STREQUAL WINDOWS )
991
+ swift_install_in_component (sourcekit-inproc
992
+ FILES
993
+ $< TARGET_LINKER_FILE:dispatch>
994
+ $< TARGET_LINKER_FILE:BlocksRuntime>
995
+ DESTINATION lib )
996
+ endif ()
997
+
986
998
987
999
# FIXME(compnerd) this should be taken care of by the
988
1000
# INTERFACE_INCLUDE_DIRECTORIES above
You can’t perform that action at this time.
0 commit comments