diff options
| author | xiphon <xiphon@protonmail.com> | 2019-12-19 14:43:31 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2019-12-19 15:13:10 +0000 |
| commit | aa96e2ff3e5ce658b9c2780742b056eb4ecffee2 (patch) | |
| tree | 57edbcca5b943ffc1023f76969560cb64719f70e | |
| parent | 46227bdad08e191d54e49813ee2f4c0e3c226f95 (diff) | |
| download | monzero-gui-aa96e2ff3e5ce658b9c2780742b056eb4ecffee2.tar.gz monzero-gui-aa96e2ff3e5ce658b9c2780742b056eb4ecffee2.tar.xz monzero-gui-aa96e2ff3e5ce658b9c2780742b056eb4ecffee2.zip | |
build: define QT_NO_DEBUG for non--debug targets
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4fca6175..c3419bf8 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) |
