You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Bo Zhang (Jira)" <ji...@apache.org> on 2021/09/22 07:24:00 UTC
[jira] [Assigned] (IOTDB-1719) client-cpp should not use thrift
head file in /usr/local/include.
[ https://issues.apache.org/jira/browse/IOTDB-1719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bo Zhang reassigned IOTDB-1719:
-------------------------------
Assignee: Bo Zhang
> client-cpp should not use thrift head file in /usr/local/include.
> -----------------------------------------------------------------
>
> Key: IOTDB-1719
> URL: https://issues.apache.org/jira/browse/IOTDB-1719
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Client/Others
> Reporter: Bo Zhang
> Assignee: Bo Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.13.0
>
>
> client-cpp/src/main/CMakeLists.txt:39
> ==================================
> Add Boost include path for MacOS
> INCLUDE_DIRECTORIES(/usr/local/include)
> Add Thrift include directory
> INCLUDE_DIRECTORIES(${TOOLS_DIR}/thrift/target/thrift-0.14.1/lib/cpp/src)
> ======================================
> If local machine has installed other version's thrift,
> this CMakeLists.txt will cause that compiling client-cpp use thrift head files in not compile-tools/thrift/target/thrift-0.14.1/lib/cpp/src/ but /usr/local/include.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)