[ https://issues.apache.org/jira/browse/ARROW-10362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Korn resolved ARROW-10362. ------------------------------ Resolution: Won't Fix > Cmake cannot build arrow as dependency > -------------------------------------- > > Key: ARROW-10362 > URL: https://issues.apache.org/jira/browse/ARROW-10362 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Environment: Ubuntu 20.04 > Reporter: Artem Zuikov > Priority: Major > > I'm triyng to make Arrow as a submodule with `add_subdirectory(arrow/cpp)` > command and it fails. I try to make row-wise-conversion-example.cc but > outside of project and link it with arrow_library. > > {code:java} > project(test) > set(ARROW_WITH_LZ4 ON CACHE INTERNAL "") > set(ARROW_WITH_ZSTD ON CACHE INTERNAL "") > set(ARROW_FLIGHT ON CACHE INTERNAL "") > set(CMAKE_BUILD_TYPE Release) > add_subdirectory(arrow/cpp) > add_executable(test row-wise-conversion-example.cc) > target_link_libraries(test ${ARROW_LIBRARY}) > {code} > First trouble is if there's no CMAKE_BUILD_TYPE set it fails. Then there's an > error with libprotoc build: > {noformat} > CMake Error at arrow/cpp/cmake_modules/ThirdpartyToolchain.cmake:1427 > (message): > libprotoc was set to > Call Stack (most recent call first): > arrow/cpp/CMakeLists.txt:496 (include) > {noformat} > -- This message was sent by Atlassian Jira (v8.3.4#803005)