Fix Windows build with MSVC.
PiperOrigin-RevId: 934812811 Change-Id: I45381b180d9120d8bfab5b10f50accf617607f8c
This commit is contained in:
committed by
Copybara-Service
parent
71721ed8e6
commit
976476c482
@@ -498,7 +498,7 @@ diff --git a/filament/backend/CMakeLists.txt b/filament/backend/CMakeLists.txt
|
||||
@@ -525,3 +525,7 @@
|
||||
endif()
|
||||
|
||||
+if (WIN32)
|
||||
+if (WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
+ list(APPEND FILAMENT_WARNINGS -Wno-error=cast-function-type-mismatch -Wno-error=unused-variable -Wno-error=microsoft-unqualified-friend)
|
||||
+endif()
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user