summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llui/CMakeLists.txt b/indra/llui/CMakeLists.txt
index 76bb71953c..e616d30998 100644
--- a/indra/llui/CMakeLists.txt
+++ b/indra/llui/CMakeLists.txt
@@ -273,6 +273,16 @@ target_link_libraries(llui
ll::SDL2
)
+if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
+ set_source_files_properties(
+ llcheckboxctrl.cpp
+ llresmgr.cpp
+ PROPERTIES COMPILE_FLAGS -Wno-restrict)
+ set_source_files_properties(
+ llflatlistview.cpp
+ PROPERTIES COMPILE_FLAGS -Wno-use-after-free)
+endif (CMAKE_CXX_COMPILER_ID MATCHES GNU)
+
include(LibraryInstall)
# Add tests