mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 19:18:59 +08:00
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} ~~~")
|
||
|
|
||
|
|