Skip to content

Commit

Permalink
Add relative rpath so binary is movable
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-p committed Jun 4, 2015
1 parent b741abf commit ee36ad3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ if (APPLE)
add_custom_command(TARGET salmon
POST_BUILD
COMMAND install_name_tool -add_rpath ${GAT_SOURCE_DIR}/external/install/lib salmon
COMMAND install_name_tool -add_rpath @executable_path/../lib salmon
)
endif()

Expand Down

0 comments on commit ee36ad3

Please sign in to comment.