Skip to content

Commit

Permalink
Add RPATH to lib installation
Browse files Browse the repository at this point in the history
  • Loading branch information
justsz committed Nov 3, 2022
1 parent 848d4bc commit 690b601
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")

add_library(libyaml_interface libyaml_interface.c)
target_link_libraries(libyaml_interface yaml)

Expand Down

0 comments on commit 690b601

Please sign in to comment.