mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Suppress Qt deprecation warnings
This commit is contained in:
committed by
Lars Toenning
parent
0af28c2708
commit
d8e8c67fd3
@@ -104,13 +104,7 @@ if(MSVC)
|
||||
add_compile_definitions(_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
|
||||
endif()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
add_compile_options("-Wno-deprecated")
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
add_compile_options("-Wno-deprecated-declarations")
|
||||
endif()
|
||||
add_compile_definitions(QT_NO_DEPRECATED_WARNINGS)
|
||||
|
||||
if(SWIFT_USE_CRASHPAD)
|
||||
add_compile_definitions(BLACK_USE_CRASHPAD)
|
||||
|
||||
Reference in New Issue
Block a user