early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/clickhouse-cpp/fix-error-C4996.patch
vendored
Executable file
15
externals/vcpkg/ports/clickhouse-cpp/fix-error-C4996.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/clickhouse/CMakeLists.txt b/clickhouse/CMakeLists.txt
|
||||
index 7e10ffd..cbbffdc 100644
|
||||
--- a/clickhouse/CMakeLists.txt
|
||||
+++ b/clickhouse/CMakeLists.txt
|
||||
@@ -31,6 +31,10 @@ SET ( clickhouse-cpp-lib-src
|
||||
query.cpp
|
||||
)
|
||||
|
||||
+if (MSVC)
|
||||
+ add_compile_options(/wd4996)
|
||||
+endif()
|
||||
+
|
||||
ADD_LIBRARY (clickhouse-cpp-lib SHARED ${clickhouse-cpp-lib-src})
|
||||
SET_TARGET_PROPERTIES(clickhouse-cpp-lib PROPERTIES LINKER_LANGUAGE CXX)
|
||||
TARGET_LINK_LIBRARIES (clickhouse-cpp-lib
|
Reference in New Issue
Block a user