diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 6bddea25a1bc42ba0812e9c0f10b34453d44f4d7..966630d1fc12116eab0ade3094a07464eb460b15 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)