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

6ed5369829
https://github.com/monero-project/monero-gui/issues/3142#issuecomment-705940446
This commit is contained in:
xiphon 2020-10-12 00:47:58 +02:00 committed by dsc
parent 48fb92dc60
commit 3f50564f11

View file

@ -157,6 +157,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}")