Make macOS OpenGL deprecation warnings shut up

This commit is contained in:
Nadia Holmquist Pedersen 2024-11-02 05:44:36 +01:00
parent 6987331135
commit 337019c254

View File

@ -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)