diff options
author | redfish <redfish@galactica.pw> | 2016-08-19 23:38:44 -0400 |
---|---|---|
committer | redfish <redfish@galactica.pw> | 2016-08-19 23:38:44 -0400 |
commit | 2c5e68fb733290d5ae7d09401874688df38e37eb (patch) | |
tree | 47d431fcd51b34bdccf722e66c9c814ef1058dce | |
parent | Merge pull request #963 (diff) | |
download | monero-2c5e68fb733290d5ae7d09401874688df38e37eb.tar.xz |
cmake: fix typo in handling of STACK_TRACE
This fixes the log output not getting redirected to log file.
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8fa617aff..dfa31aa72 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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") |