Skip to content

Commit a184e9e

Browse files
committed
[cmake] Install runtime swiftDemangle pieces.
In DLL environments (Windows) a library RUNTIME piece will be the DLL itself (while the .lib will be the LIBRARY piece). Adding a RUNTIME destination install swiftDemangle.dll correctly in its expected place. This was avoiding some tests from running in the Windows CI machines. It should also allow people use tools like swift-demangle.
1 parent 2d92894 commit a184e9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/SwiftDemangle/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ target_link_libraries(swiftDemangle PRIVATE
88

99
add_dependencies(compiler swiftDemangle)
1010
swift_install_in_component(TARGETS swiftDemangle
11+
RUNTIME
12+
DESTINATION "bin"
13+
COMPONENT compiler
1114
LIBRARY
1215
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}"
1316
COMPONENT compiler

0 commit comments

Comments
 (0)