mirror of
https://github.com/monero-project/monero.git
synced 2026-01-17 18:13:02 +01:00
cmake: fix typo in handling of STACK_TRACE
This fixes the log output not getting redirected to log file.
This commit is contained in:
@@ -50,7 +50,7 @@ endfunction ()
|
||||
function (enable_stack_trace target)
|
||||
if(STACK_TRACE)
|
||||
set_property(TARGET ${target}
|
||||
APPEND PROPERTY COMPILER_DEFINITIONS "-DSTACK_TRACE")
|
||||
APPEND PROPERTY COMPILE_DEFINITIONS "STACK_TRACE")
|
||||
if (STATIC)
|
||||
set_property(TARGET "${target}"
|
||||
APPEND PROPERTY LINK_FLAGS "-Wl,--wrap=__cxa_throw")
|
||||
|
||||
Reference in New Issue
Block a user