Skip to content

Commit 0be190b

Browse files
committed
Fix dependency
1 parent ca3bdb1 commit 0be190b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tools/driver/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function(add_swift_parser_link_libraries target)
1212
foreach(macrolib ${SWIFT_MACRO_PLUGINS})
1313
add_dependencies(${target} ${macrolib})
1414
endforeach()
15+
add_dependencies(${target} SwiftInProcPluginServer)
1516
endif()
1617
endfunction()
1718

tools/swift-plugin-server/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ if (SWIFT_BUILD_SWIFT_SYNTAX)
3030
set_property(TARGET ${name}
3131
PROPERTY BUILD_WITH_INSTALL_RPATH YES)
3232

33+
add_dependencies(compiler SwiftInProcPluginServer)
3334
swift_install_in_component(TARGETS SwiftInProcPluginServer
3435
ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/host" COMPONENT compiler
3536
LIBRARY DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/host" COMPONENT compiler

0 commit comments

Comments
 (0)