summaryrefslogtreecommitdiff
path: root/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-09-07 11:15:56 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-09-07 11:15:56 -0400
commitb8e67774397f2878aafc5906845f5f738e00c408 (patch)
tree02ed12e0d5534fbf71f3ab8ce222d7508d73166d /indra/cmake/00-Common.cmake
parent755f9d9ac9548e27d68ec701676e20c4824833f8 (diff)
parentd454512050e636a19e4b7545515dea4f4b1bbf0d (diff)
SL-18837: Merge branch 'main' into actions
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 dc9ccd356a..1207979762 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -167,6 +167,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)