mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 11:20:26 +08:00
14 lines
493 B
Diff
14 lines
493 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 756673a3..5fbc8906 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -216,7 +216,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
|
message("GLM: Visual C++ - ${CMAKE_CXX_COMPILER_ID} compiler")
|
|
endif()
|
|
|
|
- add_compile_options(/W4 /WX)
|
|
+ add_compile_options(/W4)
|
|
add_compile_options(/wd4309 /wd4324 /wd4389 /wd4127 /wd4267 /wd4146 /wd4201 /wd4464 /wd4514 /wd4701 /wd4820 /wd4365)
|
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
endif()
|