mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 12:29:08 +08:00
17 lines
467 B
Diff
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)
|