Skip to content

Commit

Permalink
Make macOS OpenGL deprecation warnings shut up
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Nov 2, 2024
1 parent 6987331 commit 337019c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frontend/qt_sdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,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)
Expand Down

0 comments on commit 337019c

Please sign in to comment.