This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch test_win_cpp_example
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/test_win_cpp_example by this
push:
new 4f31b876037 test build win cpp example
4f31b876037 is described below
commit 4f31b876037c028fbb34bc57c3acf7ed2c5c6ba2
Author: HTHou <[email protected]>
AuthorDate: Fri Aug 25 15:13:24 2023 +0800
test build win cpp example
---
example/client-cpp-example/src/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/example/client-cpp-example/src/CMakeLists.txt
b/example/client-cpp-example/src/CMakeLists.txt
index b3b117c5dda..91d93193e38 100644
--- a/example/client-cpp-example/src/CMakeLists.txt
+++ b/example/client-cpp-example/src/CMakeLists.txt
@@ -40,8 +40,8 @@ ADD_EXECUTABLE(SessionExample SessionExample.cpp)
ADD_EXECUTABLE(AlignedTimeseriesSessionExample
AlignedTimeseriesSessionExample.cpp)
IF(MSVC)
- TARGET_LINK_LIBRARIES(SessionExample iotdb_session
"${CMAKE_SOURCE_DIR}/thrift/lib/Release/thriftmd.lib)
- TARGET_LINK_LIBRARIES(AlignedTimeseriesSessionExample iotdb_session
"${CMAKE_SOURCE_DIR}/thrift/lib/Release/thriftmd.lib)
+ TARGET_LINK_LIBRARIES(SessionExample iotdb_session
"${CMAKE_SOURCE_DIR}/thrift/lib/Release/thriftmd.lib")
+ TARGET_LINK_LIBRARIES(AlignedTimeseriesSessionExample iotdb_session
"${CMAKE_SOURCE_DIR}/thrift/lib/Release/thriftmd.lib")
ELSE()
TARGET_LINK_LIBRARIES(SessionExample iotdb_session pthread)
TARGET_LINK_LIBRARIES(AlignedTimeseriesSessionExample iotdb_session
pthread)