diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:51:05 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:51:05 -0500 |
| commit | 98279f54fb80e4297ca8b490deda0791c93e887a (patch) | |
| tree | 2bc1976601a30b8fd9c4fbe59894e17af5d24695 | |
| parent | a6818cd274616d69a4b82f75197faa976495a9cb (diff) | |
| parent | aa96e2ff3e5ce658b9c2780742b056eb4ecffee2 (diff) | |
| download | monzero-gui-98279f54fb80e4297ca8b490deda0791c93e887a.tar.gz monzero-gui-98279f54fb80e4297ca8b490deda0791c93e887a.tar.xz monzero-gui-98279f54fb80e4297ca8b490deda0791c93e887a.zip | |
Merge pull request #2635
aa96e2f build: define QT_NO_DEBUG for non--debug targets (xiphon)
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 816c8b6a..529b2730 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,6 +79,10 @@ add_subdirectory(monero) set_property(TARGET wallet_merged PROPERTY FOLDER "monero") get_directory_property(ARCH_WIDTH DIRECTORY "monero" DEFINITION ARCH_WIDTH) +if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") + add_definitions(-DQT_NO_DEBUG) +endif() + if(STATIC) message(STATUS "Initiating static build") set(Boost_USE_STATIC_LIBS ON) |
