From a5389286e861ac13ec1f21412b1160d494c2cfbe Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sat, 2 Nov 2024 05:44:36 +0100 Subject: [PATCH] Make macOS OpenGL deprecation warnings shut up --- src/frontend/qt_sdl/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/qt_sdl/CMakeLists.txt b/src/frontend/qt_sdl/CMakeLists.txt index 56f82d89..7dc4a00c 100644 --- a/src/frontend/qt_sdl/CMakeLists.txt +++ b/src/frontend/qt_sdl/CMakeLists.txt @@ -122,6 +122,10 @@ elseif (APPLE) target_sources(melonDS PRIVATE ../duckstation/gl/context_agl.mm ) + set_source_files_properties( + ../duckstation/gl/context_agl.mm + PROPERTIES COMPILE_OPTIONS "-Wno-deprecated-declarations" + ) else() find_package(X11 REQUIRED) find_package(EGL REQUIRED)