From: Gunnar Beutner Date: Sun, 19 Oct 2014 11:18:43 +0000 (+0200) Subject: Fix CMake warnings on OS X X-Git-Tag: v2.2.0~336 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6a62fe31276862ebcc15a3923c07b0835058137;p=icinga2 Fix CMake warnings on OS X fixes #7417 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index efe3fb6ac..10461a032 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,6 +90,7 @@ include_directories( if(APPLE) set(CMAKE_INSTALL_NAME_DIR "@executable_path/../lib/icinga2") + set(CMAKE_MACOSX_RPATH 0) endif(APPLE) if("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang")