From d96266ca7edd876cad2a1708aca9a6e6ef86972f Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 4 Oct 2023 09:25:42 +0800 Subject: src in inventory gallery is set but unused It was okay on FreeBSD's Clang, but an error on AppleClang and GCC too. --- indra/newview/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra') 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 -- cgit v1.2.3