From 30f245391582d26ee3e375a8f9f877baa6201cb0 Mon Sep 17 00:00:00 2001 From: Izaak Beekman Date: Tue, 26 Nov 2024 14:12:19 -0500 Subject: [PATCH] Have CMake install cparse-llvm --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c39f2b..ca6121c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -224,6 +224,9 @@ target_link_libraries(cparse-llvm PUBLIC SALT_LLVM_TOOLING) # Inherit definition # You can try adding -static target_link_options(cparse-llvm PUBLIC -Wl,--as-needed -Wl,--no-allow-shlib-undefined -Wl,--no-undefined) +# Install the target +install(TARGETS cparse-llvm DESTINATION bin) + #--------------- # Tests #---------------