From eea819032cfb41758bbe2ce37e7417a0333ef9e2 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sat, 18 May 2024 17:35:05 +0800 Subject: Turn off C++ 20 compatibility Compiling would fail otherwise at least on Fedora 40 and Ubuntu 24.04 with their GCC 13 or newer. --- indra/cmake/00-Common.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/cmake') 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) -- cgit v1.2.3