-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from boeschf/rpaths/for_bundled
rpaths for bundled oomph libs
- Loading branch information
Showing
3 changed files
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# rpath_origin for libraries that have their dependencies in the same directory (installed in ${CMAKE_INSTALL_LIBDIR}) | ||
# rpath_origin_install_libdir for the pyghex library that has its dependencies in ${CMAKE_INSTALL_LIBDIR} relative to its directory | ||
if(APPLE) | ||
set(rpath_origin "@loader_path") | ||
set(rpath_origin_install_libdir "@loader_path/${CMAKE_INSTALL_LIBDIR}") | ||
else() | ||
set(rpath_origin "$ORIGIN") | ||
set(rpath_origin_install_libdir "$ORIGIN/${CMAKE_INSTALL_LIBDIR}") | ||
endif() |