Commit 1bbca651 authored by jehan's avatar jehan

change CMAKE_INSTALL_RPATH to CMAKE_INSTALL_FULL_LIBDIR if not set

parent 1abbc27d
......@@ -48,7 +48,7 @@ include(GNUInstallDirs)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
if (NOT CMAKE_INSTALL_RPATH AND CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX})
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
message("Setting install rpath to ${CMAKE_INSTALL_RPATH}")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment