summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-07-18 14:26:30 -0700
committerBrad Linden <brad@lindenlab.com>2023-07-18 14:38:18 -0700
commitae63ed51aa4437bcca1c4f3813f1f6279facc107 (patch)
tree4b74d7dbc258ec9236ab0154b6a83d6b36ce7d63 /indra/cmake
parentbb5e40a1fdc35b3a41925f91684bc76854338cfb (diff)
parent178fc5cbaaed8a3e47ec5ded5c124ebafcb4d1ab (diff)
Merge remote-tracking branch 'origin/xcode-14.3' into DRTVWR-559 (#292)
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/00-Common.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 58a64a8755..a93c5d06e8 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -171,6 +171,10 @@ if (DARWIN)
## Really?? On developer machines too?
##set(ENABLE_SIGNING TRUE)
##set(SIGNING_IDENTITY "Developer ID Application: Linden Research, Inc.")
+
+ # required for clang-15/xcode-15 since our boost package still uses deprecated std::unary_function/binary_function
+ # see https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#C++-Standard-Library
+ add_compile_definitions(_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION)
endif (DARWIN)
if (LINUX OR DARWIN)