mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-14 05:20:50 -05:00
Define QT_NO_DEBUG for non-debug use of Qt 4.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user