Commit cd1cd5cb75
introduced an issue for CMAKE_BUILD_TYPE=Debug: libringct.so => not found libcryptonote_basic.so => not found libcheckpoints.so => not found libdevice.so => not found libringct_basic.so => not found libcommon.so => not found libwallet-crypto.so => not found libcncrypto.so => not found libeasylogging.so => not found librandomx.so => not found libversion.so => not found We'll only set `CMAKE_SKIP_RPATH` when in release.
This commit is contained in:
parent
8c8d6250d9
commit
6745f49e8f
|
@ -157,7 +157,10 @@ find_package(Boost 1.58 REQUIRED COMPONENTS
|
||||||
locale)
|
locale)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
|
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
set(CMAKE_SKIP_RPATH ON)
|
set(CMAKE_SKIP_RPATH ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(X11 REQUIRED)
|
find_package(X11 REQUIRED)
|
||||||
message(STATUS "X11_FOUND = ${X11_FOUND}")
|
message(STATUS "X11_FOUND = ${X11_FOUND}")
|
||||||
message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")
|
message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")
|
||||||
|
|
Loading…
Reference in New Issue