cmake: set CMAKE_SKIP_RPATH on Linux to fix empty RPATH token issue

This commit is contained in:
xiphon 2020-10-11 19:51:05 +00:00
parent d3943ca2a9
commit 6ed5369829

View file

@ -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}")