diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2021-05-19 12:15:49 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 12:15:49 +1000 |
commit | 26837490d80fb9c7549847855b5b64eb19bfa5db (patch) | |
tree | f3c087f6462bfc9a4c4bc42bcba482c2911424fc /cmake/scripts/darwin_embedded | |
parent | 8e87b0c9b5d0cb9d3b8770ee70ade580de2051c7 (diff) | |
parent | 98e6d6752f7f422544da7133f669111fab9d1b3e (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.cmake | 3 |
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) |