summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-11-07 13:36:48 +0800
committerErik Kundiman <erik@megapahit.org>2023-11-07 13:36:48 +0800
commit33691f2fa52e3b9c2146391413234472769b13ed (patch)
treee5d70bc20e03f92e11810170083b7505caa7a200
parente503826134284d5d64f60ed5028794e6a90aa6b1 (diff)
EXTERNAL_TOS on macOS too, for now
since we don't have any web browser there either.
-rw-r--r--indra/cmake/00-Common.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 4d8ebfdae2..8090b91096 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -173,7 +173,10 @@ if (DARWIN)
# 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)
+ add_compile_definitions(
+ _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION
+ EXTERNAL_TOS
+ )
endif (DARWIN)
if (LINUX OR DARWIN)