From 0a459b6978207fb99d7806df8e6f52abfb0ae076 Mon Sep 17 00:00:00 2001 From: Luigi Freitas Cruz Date: Fri, 13 Oct 2017 11:33:22 -0300 Subject: [PATCH] Fix macOS warning. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe8bbb7..9b23ff6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ if(HAVE_SSE) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.2") endif() +set(CMAKE_MACOSX_RPATH 1) set(CMAKE_CXX_VISIBILITY_PRESET hidden) set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)