diff --git a/CMakeLists.txt b/CMakeLists.txt index 2bf1fd60f93fbcf623206d4309546fe10556ac21..fe12e9f83f9a7178434ce5c772b017ce179f97a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,7 +87,7 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/") set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) # the RPATH to be used when installing - set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") + set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH} ${CMAKE_INSTALL_PREFIX}/lib") # Misc options # ------------