aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorredfish <redfish@galactica.pw>2016-08-19 23:38:44 -0400
committerredfish <redfish@galactica.pw>2016-08-19 23:38:44 -0400
commit2c5e68fb733290d5ae7d09401874688df38e37eb (patch)
tree47d431fcd51b34bdccf722e66c9c814ef1058dce /src/CMakeLists.txt
parentMerge pull request #963 (diff)
downloadmonero-2c5e68fb733290d5ae7d09401874688df38e37eb.tar.xz
cmake: fix typo in handling of STACK_TRACE
This fixes the log output not getting redirected to log file.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
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")