diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7efbae5..09571a3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -74,14 +74,12 @@ target_compile_definitions(HbnSfosComponentsQt${QT_VERSION_MAJOR} $<$:HBNSC_WITH_SQLITE> $<$:HBNSC_WITH_DBUS> $<$:HBNSC_WITH_FIRFUORIDA> + $<$,$>:QT_QML_DEBUG> + $<$>:QT_NO_DEBUG_OUTPUT> + $<$>:QT_DEPRECATED_WARNINGS> ) if(ENABLE_MAINTAINER_FLAGS) - target_compile_definitions(HbnSfosComponentsQt${QT_VERSION_MAJOR} - PRIVATE - QT_DEPRECATED_WARNINGS - $<$,$>:QT_QML_DEBUG> - ) target_compile_options(HbnSfosComponentsQt${QT_VERSION_MAJOR} PRIVATE -Wall