vcpkg/ports/nanodbc/no-werror.patch
2023-10-02 20:31:05 -07:00

14 lines
476 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ce7232..57836fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
message(STATUS "nanodbc compile: C++${CMAKE_CXX_STANDARD}")
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_COMPILER_IS_GNUCXX)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
include(CheckCXXCompilerFlag)
if (NANODBC_ENABLE_COVERAGE)