mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 06:41:36 +08:00
14 lines
415 B
Diff
14 lines
415 B
Diff
diff --git a/CMake/utility.cmake b/CMake/utility.cmake
|
|
index 8e7a0c6..ac5e305 100644
|
|
--- a/CMake/utility.cmake
|
|
+++ b/CMake/utility.cmake
|
|
@@ -395,7 +395,7 @@ function( set_compiler_warnings target)
|
|
set(WARNINGS "-Werror"
|
|
"-Wall")
|
|
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
- set(WARNINGS "-Werror"
|
|
+ set(WARNINGS
|
|
"-Wall")
|
|
elseif(MSVC)
|
|
set(WARNINGS "/WX"
|