Don't warn about deprecated declarations with Qt 6
This commit is contained in:
parent
a8856aa831
commit
6ef834cf3c
1 changed files with 8 additions and 0 deletions
|
|
@ -36,6 +36,14 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# TODO: Remove when there will be no Qt 5 support
|
||||||
|
if (DESKTOP_APP_QT6)
|
||||||
|
target_compile_options(common_options
|
||||||
|
INTERFACE
|
||||||
|
-Wno-deprecated-declarations
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (DESKTOP_APP_SPECIAL_TARGET)
|
if (DESKTOP_APP_SPECIAL_TARGET)
|
||||||
target_compile_options(common_options
|
target_compile_options(common_options
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue