yecol commented on PR #628:
URL:
https://github.com/apache/incubator-graphar/pull/628#issuecomment-2357799709
Hi @jasinliu
Seems it works as expected:
The problem comes from your CMakeList.txt:
you are linking a static library libgraphar.a, which bundled libarrow.a; and
`Arrow::arrow_static` again.
How about a revised CMakeList.txt like this:
```
cmake_minimum_required(VERSION 3.15)
project(show)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wall")
set(TARGET show)
find_package(OpenSSL REQUIRED)
find_package(graphar REQUIRED)
# find_package(Arrow REQUIRED)
add_executable(${TARGET} show.cc)
target_link_libraries(${TARGET} PRIVATE graphar)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]