Skip to content

Commit 57e4837

Browse files
author
Martin D. Weinberg
committed
Add an explicit runpath entry for the EXP library install path needed by (e.g.) Gala
1 parent f7ec660 commit 57e4837

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ endif()
3131
# Required compiler features
3232
add_compile_options(-D_REENTRANT)
3333

34+
# Add an explicit path to the install library directory (esp. useful
35+
# for Python bindings)
36+
set(CMAKE_INSTALL_RPATH"${CMAKE_INSTALL_PREFIX}/lib")
37+
3438
# Bake in library paths (esp. useful for HPC sites with modules)
3539
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
3640

0 commit comments

Comments
 (0)