rpath: use macOS workaround only on macOS
@@ -28,8 +28,10 @@ else (CMAKE_VERSION VERSION_LESS 3.12)
endif (CMAKE_VERSION VERSION_LESS 3.9)
# fix macOS RPATH issues
+if(APPLE)
set (CMAKE_MACOSX_RPATH 1)
set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+endif(APPLE)
set (CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "elektra-misc")
