From 7a7873d5527e7819249f80ba9abceb9d2d9c41cb Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Mon, 6 Jun 2016 13:40:52 +0200 Subject: Fixed the RPATH settings for linking on OS X --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95b0679c..5cad6d45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,10 +30,7 @@ option(TESTS "Enable compilation of the correctness tests" OFF) # ================================================================================================== # RPATH settings -set(CMAKE_SKIP_BUILD_RPATH false) # Use, i.e. don't skip the full RPATH for the build tree -set(CMAKE_BUILD_WITH_INSTALL_RPATH false) # When building, don't use the install RPATH already -set(CMAKE_INSTALL_RPATH "") # The RPATH to be used when installing -set(CMAKE_INSTALL_RPATH_USE_LINK_PATH false) # Don't add the automatically determined parts +set(CMAKE_MACOSX_RPATH 1) # ================================================================================================== -- cgit v1.2.3