cmake: fix typo in handling of STACK_TRACE
This fixes the log output not getting redirected to log file.
This commit is contained in:
parent
63ba2447e2
commit
2c5e68fb73
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ endfunction ()
|
||||||
function (enable_stack_trace target)
|
function (enable_stack_trace target)
|
||||||
if(STACK_TRACE)
|
if(STACK_TRACE)
|
||||||
set_property(TARGET ${target}
|
set_property(TARGET ${target}
|
||||||
APPEND PROPERTY COMPILER_DEFINITIONS "-DSTACK_TRACE")
|
APPEND PROPERTY COMPILE_DEFINITIONS "STACK_TRACE")
|
||||||
if (STATIC)
|
if (STATIC)
|
||||||
set_property(TARGET "${target}"
|
set_property(TARGET "${target}"
|
||||||
APPEND PROPERTY LINK_FLAGS "-Wl,--wrap=__cxa_throw")
|
APPEND PROPERTY LINK_FLAGS "-Wl,--wrap=__cxa_throw")
|
||||||
|
|
Loading…
Reference in a new issue