summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)