mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 21:36:03 +08:00
13e9aea04a
* [cpr] disable werror * v db
14 lines
363 B
Diff
14 lines
363 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index cb7c5f042..a5bc0b942 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -71,7 +71,7 @@ if(CPR_ENABLE_CPPCHECK)
|
|
include(cmake/cppcheck.cmake)
|
|
endif()
|
|
|
|
-if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
|
+if (1)
|
|
else()
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Werror")
|
|
endif()
|