aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-08-22 22:55:53 +0200
committerRiccardo Spagni <ric@spagni.net>2016-08-22 22:55:53 +0200
commit17157f8a229976bc1ea5fb0d9db12d30f9259c72 (patch)
tree7796c21280c7c5499aa241d5a432b40a4efca66d /src
parentMerge pull request #970 (diff)
parentcmake: fix typo in handling of STACK_TRACE (diff)
downloadmonero-17157f8a229976bc1ea5fb0d9db12d30f9259c72.tar.xz
Merge pull request #972
2c5e68f cmake: fix typo in handling of STACK_TRACE (redfish)
Diffstat (limited to 'src')
-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")