aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/darwin_embedded
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2020-10-25 17:42:05 +1000
committerfuzzard <fuzzard@kodi.tv>2020-10-26 08:24:13 +1000
commitbeedef3225d196094e61efe2ae0a5dbbfcea72e1 (patch)
tree646ee96cd4f6943171545f6daa9c5cd3327a9766 /cmake/scripts/darwin_embedded
parentc413111b8731253f78bcb0d09f8a02ea2246a3de (diff)
[Apple] disable gl.h/gl3.h warnings
disable the following warning about inclusion of both gl.h/gl3.h warning gl.h and gl3.h are both included. Compiler will not invoke errors if using removed OpenGL functionality
Diffstat (limited to 'cmake/scripts/darwin_embedded')
-rw-r--r--cmake/scripts/darwin_embedded/ArchSetup.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/scripts/darwin_embedded/ArchSetup.cmake b/cmake/scripts/darwin_embedded/ArchSetup.cmake
index 7160da996e..6ea4562eed 100644
--- a/cmake/scripts/darwin_embedded/ArchSetup.cmake
+++ b/cmake/scripts/darwin_embedded/ArchSetup.cmake
@@ -12,7 +12,8 @@ else()
list(APPEND ARCH_DEFINES -DTARGET_DARWIN_IOS)
endif()
set(SYSTEM_DEFINES -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
- -D__STDC_CONSTANT_MACROS -DHAS_IOS_NETWORK -DHAS_ZEROCONF)
+ -D__STDC_CONSTANT_MACROS -DHAS_IOS_NETWORK -DHAS_ZEROCONF
+ -DGL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED)
set(PLATFORM_DIR platform/darwin)
set(PLATFORMDEFS_DIR platform/posix)
set(CMAKE_SYSTEM_NAME Darwin)