mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 11:37:50 +08:00
12 lines
354 B
Diff
12 lines
354 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -68,7 +68,7 @@
|
|
|
|
# Use -Werror for clang only.
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
- if(NOT CMAKE_CXX_FLAGS MATCHES "-Werror")
|
|
+ if(0)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
|
endif(NOT CMAKE_CXX_FLAGS MATCHES "-Werror")
|
|
endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|