From d3db94ef27c006d9877691a80fafdf08fa4faa55 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Tue, 11 Jun 2024 10:15:48 +0800 Subject: Set so an unused function isn't an error on GCC on particular files in indra/newview/gltf. --- indra/newview/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 59a7327400..352dd4a5ee 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -2016,6 +2016,10 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU") llsidepanelinventory.cpp PROPERTIES COMPILE_FLAGS -Wno-dangling-reference ) + set_source_files_properties( + gltf/animation.cpp + gltf/primitive.cpp + PROPERTIES COMPILE_FLAGS -Wno-unused-function) endif () message("Copying fonts") -- cgit v1.2.3