--- nanodbc-2.14.0/CMakeLists.txt.orig	2022-03-23 20:40:26.000000000 +0100
+++ nanodbc-2.14.0/CMakeLists.txt	2023-05-11 19:40:17.491955300 +0200
@@ -35,7 +35,7 @@
 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 -Wnarrowing -Werror")
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wnarrowing")
   include(CheckCXXCompilerFlag)
 
   if (NANODBC_ENABLE_COVERAGE)
