summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-10-04 09:25:42 +0800
committerErik Kundiman <erik@megapahit.org>2023-10-04 09:25:42 +0800
commitd96266ca7edd876cad2a1708aca9a6e6ef86972f (patch)
tree308ae9537789e9ea2985a157351345daafd18765
parenta332b8faefef8a044a2409957b415b62d6a85181 (diff)
src in inventory gallery is set but unused
It was okay on FreeBSD's Clang, but an error on AppleClang and GCC too.
-rw-r--r--indra/newview/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 40a858cfeb..2ae230c431 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1950,6 +1950,8 @@ endif()
set(ARTWORK_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH
"Path to artwork files.")
+set_source_files_properties(llinventorygallery.cpp PROPERTIES COMPILE_FLAGS
+ -Wno-unused-but-set-variable)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set_source_files_properties(llappviewerlinux.cpp PROPERTIES
COMPILE_FLAGS -Wno-dangling-gsl