mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
Merge pull request #972
2c5e68f
cmake: fix typo in handling of STACK_TRACE (redfish)
This commit is contained in:
commit
17157f8a22
@ -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 New Issue
Block a user