CMake: fix install RPATH for macOS
@@ -30,6 +30,7 @@ endif (CMAKE_VERSION VERSION_LESS 3.9)
# fix macOS RPATH issues
set (CMAKE_MACOSX_RPATH 1)
set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
set (CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "elektra-misc")
