summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-05-18 17:35:05 +0800
committerErik Kundiman <erik@megapahit.org>2024-05-18 17:35:05 +0800
commiteea819032cfb41758bbe2ce37e7417a0333ef9e2 (patch)
tree1e109019c87dbc77e394338f5947e5c3d9880246
parent08a9ef2354feb1b4008c0e33592837a88275f3a5 (diff)
Turn off C++ 20 compatibility
Compiling would fail otherwise at least on Fedora 40 and Ubuntu 24.04 with their GCC 13 or newer.
-rw-r--r--indra/cmake/00-Common.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 396a01b61a..c345cfac5c 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -138,6 +138,7 @@ if (LINUX OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
-pthread
-Wno-parentheses
-Wno-deprecated
+ -Wno-c++20-compat
)
if (NOT BUILD_SHARED_LIBS)