Skip to content

Commit

Permalink
Setting RPATH for the installed shared libraries (#33)
Browse files Browse the repository at this point in the history
* Setting RPATH for the installed shared libraries

* Add missing dashes
  • Loading branch information
kjvbrt authored Dec 5, 2022
1 parent 1caacac commit d957b7d
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 @@ -39,6 +39,9 @@ endforeach()
set_property(TEST ${_testname} APPEND PROPERTY ENVIRONMENT "DD4hepINSTALL=${ddcore_loc}/../")
endfunction()

# Setting RPATH ------------------------------------------------
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

# Subdirectories -----------------------------------------------
add_subdirectory(Detector)

Expand Down

0 comments on commit d957b7d

Please sign in to comment.