mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-06 03:29:36 +08:00
d6150f960c
* [clickhouse-cpp] update to 1.2.2 * update version * [clickhouse-cpp] update to 1.5.0 * update version * fix error c4996 * update version * merge baseline.json * update baseline.json * add Add patch description * update version * Add patch comment * update version
16 lines
484 B
Diff
16 lines
484 B
Diff
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
|