mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
build: define QT_NO_DEBUG for non--debug targets
This commit is contained in:
parent
46227bdad0
commit
aa96e2ff3e
@ -79,6 +79,10 @@ add_subdirectory(monero)
|
|||||||
set_property(TARGET wallet_merged PROPERTY FOLDER "monero")
|
set_property(TARGET wallet_merged PROPERTY FOLDER "monero")
|
||||||
get_directory_property(ARCH_WIDTH DIRECTORY "monero" DEFINITION ARCH_WIDTH)
|
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)
|
if(STATIC)
|
||||||
message(STATUS "Initiating static build")
|
message(STATUS "Initiating static build")
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
|
Loading…
Reference in New Issue
Block a user