diff --git a/source/compiler/CMakeLists.txt b/source/compiler/CMakeLists.txt index aaac94ea..791f06c7 100644 --- a/source/compiler/CMakeLists.txt +++ b/source/compiler/CMakeLists.txt @@ -60,6 +60,7 @@ endif() if(APPLE) set(CMAKE_MACOSX_RPATH ON) + set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") endif() configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in