vcpkg/ports/meshoptimizer/no-werror.patch
Arsen Tufankjian 7e7c62d863
[meshoptimizer] Add basisu support to gltfpack (#27532)
* Updating meshoptimizer port to add basisu support to gltfpack

* Updating version

* Using proper gltfpack branch for v0.18

* Updating version

* Adding patch to fix x86-windows

* Updating version
2022-11-09 13:54:53 -08:00

17 lines
467 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b13d946..1aa1304 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,9 +55,9 @@ set(GLTF_SOURCES
)
if(MSVC)
- add_compile_options(/W4 /WX)
+ add_compile_options(/W4)
else()
- add_compile_options(-Wall -Wextra -Wshadow -Wno-missing-field-initializers -Werror)
+ add_compile_options(-Wall -Wextra -Wshadow -Wno-missing-field-initializers)
endif()
if(MESHOPT_BUILD_SHARED_LIBS)