diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-07-27 11:07:38 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-07-27 11:07:38 +0200 |
commit | 0fbe9cfcdb9df2b141024eec04c3c7412791b741 (patch) | |
tree | 2859fc0f78de250dc93f7e758f810346b418d6ed /src/common/CMakeLists.txt | |
parent | Merge pull request #936 (diff) | |
parent | cmake,common: flag for stack trace (diff) | |
download | monero-0fbe9cfcdb9df2b141024eec04c3c7412791b741.tar.xz |
Merge pull request #937
0f990d0 cmake,common: flag for stack trace (redfish)
Diffstat (limited to '')
-rw-r--r-- | src/common/CMakeLists.txt | 7 |
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) |