From e6a62fe31276862ebcc15a3923c07b0835058137 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 19 Oct 2014 13:18:43 +0200 Subject: [PATCH] Fix CMake warnings on OS X fixes #7417 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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")