Skip to content

Commit

Permalink
Set CMake install RPATH for NoiseTool
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Sep 26, 2021
1 parent 50a02c3 commit 3b4b458
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NoiseTool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ endif()

if (UNIX)
target_link_options(NoiseTool PRIVATE -pthread)
set_property(TARGET NoiseTool PROPERTY
INSTALL_RPATH "\$ORIGIN/../lib")
endif()

if (MSVC)
Expand Down

0 comments on commit 3b4b458

Please sign in to comment.