summaryrefslogtreecommitdiff
path: root/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorBrad Linden <46733234+brad-linden@users.noreply.github.com>2023-06-07 16:16:06 -0700
committermarchcat-pe <alihatskiy@productengine.com>2023-07-18 12:00:01 +0300
commit71e7c7c705434b8290d802b46c92c0eb808dd2f1 (patch)
tree8159746ae9338dd162fbee23fdaf48577fc033d3 /indra/cmake/00-Common.cmake
parentbc3f2d53d10c64ccded6aaa14ea37eac78ef6856 (diff)
Fixes for compatibility with new xcode 15 beta for any viewer branch after DRTVWR-577 (#232)
Diffstat (limited to 'indra/cmake/00-Common.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 a44fe5a8d5..c708199309 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)