From 3c6e2a6e4c061add79b7a8eae96a6271148d278b Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Sat, 17 Sep 2022 21:27:43 +0300
Subject: [PATCH] SL-17238 Supress errors from physicsextensions

---
 indra/newview/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 6bddea25a1b..966630d1fc1 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -66,6 +66,9 @@ if (NOT HAVOK_TPV)
    endif()
    if( TARGET llphysicsextensions )
       target_link_libraries(llphysicsextensions llrender )
+      if (DARWIN)
+        target_compile_options( llphysicsextensions  PRIVATE -Wno-unused-local-typedef)
+      endif (DARWIN)
    endif()
 endif (NOT HAVOK_TPV)
 
-- 
GitLab