0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-19 20:02:18 +02:00

Define QT_NO_DEBUG for build type None.

Debian sets the the build type to None for package builds.
Make sure we don't enable asserts there.

Closes #237
This commit is contained in:
Felix Geyer 2014-11-04 18:50:07 +01:00
parent 6ecb8690f2
commit 4b3a82592c

View File

@ -165,6 +165,9 @@ endif()
find_package(Qt4 4.6.0 REQUIRED ${QT_REQUIRED_MODULES})
include(${QT_USE_FILE})
# Debian sets the the build type to None for package builds.
# Make sure we don't enable asserts there.
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_NONE QT_NO_DEBUG)
find_package(Gcrypt REQUIRED)
if(NOT (${GCRYPT_VERSION_STRING} VERSION_LESS "1.6.0"))