diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-10-04 09:25:42 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-10-04 09:25:42 +0800 |
commit | d96266ca7edd876cad2a1708aca9a6e6ef86972f (patch) | |
tree | 308ae9537789e9ea2985a157351345daafd18765 | |
parent | a332b8faefef8a044a2409957b415b62d6a85181 (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.txt | 2 |
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 |