Skip to content

Commit 0da756e

Browse files
committed
build: use target_link_libraries for DWARImporter
Use `target_link_libraries` for the linked libraries like the other host libraries. This is setup for migrating the host libraries and executables to the LLVM build infrastructure and matches what the rest of the host tools and libraries do.
1 parent e34d673 commit 0da756e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/DWARFImporter/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
add_swift_host_library(swiftDWARFImporter STATIC
2-
DWARFImporter.cpp
3-
LINK_LIBRARIES
2+
DWARFImporter.cpp)
3+
target_link_libraries(swiftDWARFImporter PRIVATE
44
swiftAST
55
swiftParse
66
)
7-
8-
#add_dependencies(swiftDWARFImporter )

0 commit comments

Comments
 (0)