aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/darwin_embedded
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2021-05-19 12:15:49 +1000
committerGitHub <noreply@github.com>2021-05-19 12:15:49 +1000
commit26837490d80fb9c7549847855b5b64eb19bfa5db (patch)
treef3c087f6462bfc9a4c4bc42bcba482c2911424fc /cmake/scripts/darwin_embedded
parent8e87b0c9b5d0cb9d3b8770ee70ade580de2051c7 (diff)
parent98e6d6752f7f422544da7133f669111fab9d1b3e (diff)
Merge pull request #18636 from fuzzard/osx_xcodebinarytarget
[Apple] Remove GL warning [osx] add binary addon target to xcode project
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)