This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch HTHou-patch-2
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/HTHou-patch-2 by this push:
new 61c30fda055 try to remove boost
61c30fda055 is described below
commit 61c30fda055024ae4774a05789ddb6c637130107
Author: HTHou <[email protected]>
AuthorDate: Tue Jan 7 10:54:16 2025 +0800
try to remove boost
---
example/client-cpp-example/src/CMakeLists.txt | 5 -----
iotdb-client/client-cpp/src/main/CMakeLists.txt | 6 ------
iotdb-client/client-cpp/src/test/CMakeLists.txt | 6 ------
3 files changed, 17 deletions(-)
diff --git a/example/client-cpp-example/src/CMakeLists.txt
b/example/client-cpp-example/src/CMakeLists.txt
index 1b902ceaa57..bb0085f67c0 100644
--- a/example/client-cpp-example/src/CMakeLists.txt
+++ b/example/client-cpp-example/src/CMakeLists.txt
@@ -28,11 +28,6 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/thrift/include)
# Add cpp-client include directory
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/client/include)
-FIND_PACKAGE(Boost REQUIRED)
-IF (DEFINED BOOST_INCLUDEDIR)
- INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
-ENDIF()
-
# Add the libs for the cpp-client
LINK_DIRECTORIES(${CMAKE_SOURCE_DIR}/client/lib)
diff --git a/iotdb-client/client-cpp/src/main/CMakeLists.txt
b/iotdb-client/client-cpp/src/main/CMakeLists.txt
index c6924060ba9..6169783c60e 100644
--- a/iotdb-client/client-cpp/src/main/CMakeLists.txt
+++ b/iotdb-client/client-cpp/src/main/CMakeLists.txt
@@ -29,12 +29,6 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/../../thrift/include)
# Add Boost include path for MacOS
INCLUDE_DIRECTORIES(/usr/local/include)
-# Add Boost library headers for MaxOS
-FIND_PACKAGE(Boost REQUIRED)
-IF (DEFINED BOOST_INCLUDEDIR)
- INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
-ENDIF()
-
IF(MSVC)
SET(THRIFT_STATIC_LIB
"${CMAKE_SOURCE_DIR}/../../thrift/lib/Release/thriftmd.lib")
ELSE()
diff --git a/iotdb-client/client-cpp/src/test/CMakeLists.txt
b/iotdb-client/client-cpp/src/test/CMakeLists.txt
index 186c08b634d..7ef743f63ee 100644
--- a/iotdb-client/client-cpp/src/test/CMakeLists.txt
+++ b/iotdb-client/client-cpp/src/test/CMakeLists.txt
@@ -32,12 +32,6 @@
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/../main/generated-sources-cpp)
# Add Thrift include directory
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/../../thrift/include)
-# Add Boost library headers for MaxOS
-FIND_PACKAGE(Boost REQUIRED)
-IF (DEFINED BOOST_INCLUDEDIR)
- include_directories("${Boost_INCLUDE_DIR}")
-ENDIF()
-
# Link directories are different for Windows and Linux/Mac
IF(MSVC)
LINK_DIRECTORIES(${CMAKE_SOURCE_DIR}/../main/Release)