mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-25 08:52:26 +00:00
Disable stack unwinding for mingw32 depends build.
This commit is contained in:
parent
8db3d5731b
commit
29311fd140
1 changed files with 3 additions and 0 deletions
|
@ -372,6 +372,9 @@ add_definitions("-DBLOCKCHAIN_DB=${BLOCKCHAIN_DB}")
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(DEFAULT_STACK_TRACE OFF)
|
set(DEFAULT_STACK_TRACE OFF)
|
||||||
set(LIBUNWIND_LIBRARIES "")
|
set(LIBUNWIND_LIBRARIES "")
|
||||||
|
elseif (DEPENDS AND NOT LINUX)
|
||||||
|
set(DEFAULT_STACK_TRACE OFF)
|
||||||
|
set(LIBUNWIND_LIBRARIES "")
|
||||||
elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT MINGW)
|
elseif(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT MINGW)
|
||||||
set(DEFAULT_STACK_TRACE ON)
|
set(DEFAULT_STACK_TRACE ON)
|
||||||
set(STACK_TRACE_LIB "easylogging++") # for diag output only
|
set(STACK_TRACE_LIB "easylogging++") # for diag output only
|
||||||
|
|
Loading…
Reference in a new issue