mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 23:59:00 +08:00
14 lines
476 B
Diff
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)
|