vcpkg/ports/cpr/disable_werror.patch
gentooise 3e1bc1a3ca
[cpr] update cpr port and baseline to 1.10.5 (#34515)
* update cpr port and baseline to 1.10.5

* use version as ref in portfile
2023-10-18 10:15:03 -07:00

14 lines
360 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 68b5343..fce2518 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,7 +103,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()