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 28, 2024
1 parent fba64b0 commit c7062a1
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 c7062a1

Please sign in to comment.