Skip to content

Commit

Permalink
rpath: brin back setting rpath for not apple, use ORIGIN
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed May 16, 2024
1 parent fba64b0 commit 30acc83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmakemodules/ilcsoft_default_rpath_settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ if(APPLE)
set(CMAKE_INSTALL_RPATH "@loader_path/../${CMAKE_INSTALL_LIBDIR}")
endif("${isSystemDir}" STREQUAL "-1")
else()
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}" )
MARK_AS_ADVANCED(CMAKE_INSTALL_RPATH)
set(CMAKE_SKIP_INSTALL_RPATH FALSE) # skip the full RPATH for the install tree
endif()

0 comments on commit 30acc83

Please sign in to comment.