mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 04:19:07 +08:00
aaf629c095
* update influxdb-cxx * update version --------- Co-authored-by: Monica <v-liumonica@microsoft.com>
16 lines
335 B
Diff
16 lines
335 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index df7e7a3..4879802 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -26,6 +26,10 @@ project(influxdb-cxx
|
|
LANGUAGES CXX
|
|
)
|
|
|
|
+if (BUILD_SHARED_LIBS)
|
|
+ add_definitions(-DInfluxDB_EXPORTS)
|
|
+endif()
|
|
+
|
|
message(STATUS "~~~ ${PROJECT_NAME} v${PROJECT_VERSION} ~~~")
|
|
|
|
|