Define QT_NO_DEBUG for non-debug use of Qt 4.
This commit is contained in:
parent
330af68ed4
commit
b9f0d81c4b
|
@ -1203,6 +1203,10 @@ if (QT_QMAKE_EXECUTABLE AND QTVERSION)
|
|||
"${QT_MKSPECS_DIR}/default"
|
||||
${QT_INCLUDE_DIR}
|
||||
)
|
||||
set_property(TARGET Qt4::QtCore APPEND PROPERTY
|
||||
INTERFACE_COMPILE_DEFINITIONS
|
||||
$<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>
|
||||
)
|
||||
set_property(TARGET Qt4::QtCore PROPERTY
|
||||
INTERFACE_QT_MAJOR_VERSION 4
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue