[nanodbc] fix build (#34112)

This commit is contained in:
autoantwort 2023-10-03 05:31:05 +02:00 committed by GitHub
parent 2f1cc4c0a4
commit e006ea4f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,13 @@
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)

View File

@ -12,6 +12,7 @@ vcpkg_from_github(
rename-version.patch
add-missing-include.patch
find-unixodbc.patch
no-werror.patch
)
file(RENAME "${SOURCE_PATH}/VERSION" "${SOURCE_PATH}/VERSION.txt")

View File

@ -1,7 +1,7 @@
{
"name": "nanodbc",
"version": "2.13.0",
"port-version": 6,
"port-version": 7,
"description": "A small C++ wrapper for the native C ODBC API.",
"homepage": "https://github.com/nanodbc/nanodbc",
"dependencies": [

View File

@ -5678,7 +5678,7 @@
},
"nanodbc": {
"baseline": "2.13.0",
"port-version": 6
"port-version": 7
},
"nanoflann": {
"baseline": "1.5.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b57473b86bc71733209e195206d253f1dd3658b2",
"version": "2.13.0",
"port-version": 7
},
{
"git-tree": "7de6296fc337f181517f8ed4c2e6ed35d749e414",
"version": "2.13.0",