Merge pull request #2635

aa96e2f build: define QT_NO_DEBUG for non--debug targets (xiphon)
This commit is contained in:
luigi1111 2019-12-19 19:51:05 -05:00
commit 98279f54fb
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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)