Merge pull request 'Fix debug build' (#52) from dsc/feather:fix-rpath-debug into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/52
This commit is contained in:
dsc 2020-10-12 15:43:01 +00:00
commit d465639d2a

View file

@ -157,7 +157,11 @@ find_package(Boost 1.58 REQUIRED COMPONENTS
locale)
if(UNIX AND NOT APPLE)
set(CMAKE_SKIP_RPATH ON)
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
# https://github.com/monero-project/monero-gui/issues/3142#issuecomment-705940446
set(CMAKE_SKIP_RPATH ON)
endif()
find_package(X11 REQUIRED)
message(STATUS "X11_FOUND = ${X11_FOUND}")
message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")