Skip to content

Commit

Permalink
Have CMake install cparse-llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Nov 26, 2024
1 parent f5ebf3a commit 30f2453
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
#---------------
Expand Down

0 comments on commit 30f2453

Please sign in to comment.