We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b31b49 commit cf65268Copy full SHA for cf65268
1 file changed
build/cmake/CMakeLists.txt
@@ -38,4 +38,7 @@ if(APPLE)
38
# The quotes are important so CMake passes it as a single linker argument.
39
"-framework OpenGLES"
40
)
41
+
42
+ # Define the GLES_SILENCE_DEPRECATION macro to silence OpenGL ES deprecation warnings on Apple platforms.
43
+ target_compile_definitions(${name} PRIVATE GLES_SILENCE_DEPRECATION)
44
endif()
0 commit comments