diff --git a/CMakeLists.txt b/CMakeLists.txt index a88f13c4..087d46c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,6 +175,7 @@ find_package(Boost 1.58 REQUIRED COMPONENTS locale) if(UNIX AND NOT APPLE) + set(CMAKE_SKIP_RPATH ON) find_package(X11 REQUIRED) message(STATUS "X11_FOUND = ${X11_FOUND}") message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")