aboutsummaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-07-27 11:07:38 +0200
committerRiccardo Spagni <ric@spagni.net>2016-07-27 11:07:38 +0200
commit0fbe9cfcdb9df2b141024eec04c3c7412791b741 (patch)
tree2859fc0f78de250dc93f7e758f810346b418d6ed /src/common/CMakeLists.txt
parentMerge pull request #936 (diff)
parentcmake,common: flag for stack trace (diff)
downloadmonero-0fbe9cfcdb9df2b141024eec04c3c7412791b741.tar.xz
Merge pull request #937
0f990d0 cmake,common: flag for stack trace (redfish)
Diffstat (limited to '')
-rw-r--r--src/common/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 9afbe4b82..7a2457c93 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -31,8 +31,11 @@ set(common_sources
command_line.cpp
dns_utils.cpp
util.cpp
- i18n.cpp
- stack_trace.cpp)
+ i18n.cpp)
+
+if (STACK_TRACE)
+ list(APPEND common_sources stack_trace.cpp)
+endif()
set(common_headers)