From afe864f4c39127bbf358ccc8df10b96d11970250 Mon Sep 17 00:00:00 2001 From: AMZN-Gene Date: Mon, 30 Sep 2024 15:56:05 -0700 Subject: [PATCH] Turn off warnings as errors on windows Signed-off-by: AMZN-Gene --- package-system/assimp/build_assimp_windows.cmd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package-system/assimp/build_assimp_windows.cmd b/package-system/assimp/build_assimp_windows.cmd index 3b409759..a2ab84ea 100644 --- a/package-system/assimp/build_assimp_windows.cmd +++ b/package-system/assimp/build_assimp_windows.cmd @@ -20,6 +20,7 @@ cmake -S temp/src ^ -DASSIMP_BUILD_ZLIB=OFF ^ -DASSIMP_BUILD_ASSIMP_TOOLS=OFF ^ -DASSIMP_BUILD_USD_IMPORTER=ON ^ + -DASSIMP_WARNINGS_AS_ERRORS=OFF ^ -DCMAKE_CXX_FLAGS="/EHsc /w" ^ temp/src/CMakeLists.txt || exit /b 1 cmake --build temp/src --config release --parallel 1 || exit /b 1 @@ -33,6 +34,7 @@ cmake -S temp/src ^ -DASSIMP_BUILD_ZLIB=OFF ^ -DASSIMP_BUILD_ASSIMP_TOOLS=OFF ^ -DASSIMP_BUILD_USD_IMPORTER=ON ^ + -DASSIMP_WARNINGS_AS_ERRORS=OFF ^ -DCMAKE_CXX_FLAGS="/EHsc /w" ^ temp/src/CMakeLists.txt || exit /b 1 cmake --build temp/src --config release --parallel 1 || exit /b 1