Skip to content

Commit

Permalink
build: define QT_NO_DEBUG for non--debug targets
Browse files Browse the repository at this point in the history
  • Loading branch information
xiphon committed Dec 19, 2019
1 parent 46227bd commit aa96e2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit aa96e2f

Please sign in to comment.