mirror of https://github.com/mgba-emu/mgba.git
Qt: Disable deprecation warnings on newer Qts
This commit is contained in:
parent
66be69151c
commit
6a7bec5eec
|
@ -45,6 +45,10 @@ if(APPLE)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
|
||||
endif()
|
||||
|
||||
get_target_property(QT_TYPE Qt5::Core TYPE)
|
||||
if(QT_TYPE STREQUAL STATIC_LIBRARY)
|
||||
set(QT_STATIC ON)
|
||||
|
|
Loading…
Reference in New Issue