mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 21:29:08 +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")
|