summaryrefslogtreecommitdiff
path: root/indra/newview/CMakeLists.txt
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-06-11 10:15:48 +0800
committerErik Kundiman <erik@megapahit.org>2024-06-11 10:15:48 +0800
commitd3db94ef27c006d9877691a80fafdf08fa4faa55 (patch)
treebf077d29482f138010177b036d3b04e1fab5e4a5 /indra/newview/CMakeLists.txt
parent602a5ed94827f025029ea425565c7a5f78c51f39 (diff)
Set so an unused function isn't an error on GCC
on particular files in indra/newview/gltf.
Diffstat (limited to 'indra/newview/CMakeLists.txt')
-rw-r--r--indra/newview/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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")