Skip to content

Commit 85e1c0d

Browse files
committed
[build] Add CMake target installation mechanism
This is needed to introduce a dependency on the bindings in SwiftCompilerSources
1 parent 42f2c69 commit 85e1c0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/LLVM/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ target_compile_options(LLVM_Utils PUBLIC
66
target_include_directories(LLVM_Utils PUBLIC
77
"${LLVM_MAIN_INCLUDE_DIR}"
88
"${LLVM_INCLUDE_DIR}")
9+
install(TARGETS LLVM_Utils
10+
ARCHIVE DESTINATION lib
11+
LIBRARY DESTINATION lib)

0 commit comments

Comments
 (0)