summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-05-02 22:33:32 +0800
committerErik Kundiman <erik@megapahit.org>2026-05-02 22:33:32 +0800
commitb26f77e2dc465fabc3ef220b1feabea951640031 (patch)
tree0c0092c38e723d9c900fd6ec36fa829018d230b1 /indra/llui
parent1b4a6f6b47bd148b409241fe8a891ff5b23eeb62 (diff)
Don't treat SFINAE incomplete as error on GCC
for compiling using GCC 16 on Fedora 44.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/CMakeLists.txt b/indra/llui/CMakeLists.txt
index 83b3a220a0..9077670b67 100644
--- a/indra/llui/CMakeLists.txt
+++ b/indra/llui/CMakeLists.txt
@@ -274,6 +274,10 @@ target_link_libraries(llui
include(LibraryInstall)
+if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
+ set_source_files_properties(llxuiparser.cpp PROPERTIES COMPILE_FLAGS -Wno-sfinae-incomplete)
+endif ()
+
# Add tests
if(LL_TESTS)
include(LLAddBuildTest)