Apache Arrow子模块存储在thirdparty/apache_arrow/cpp
,所以我的主要 CMakeLists.txt 看起来像
cmake_minimum_required(VERSION 3.0.0)
project(arrow_parcer VERSION 0.1.0)
add_subdirectory(src)
add_subdirectory(thirdparty/apache_arrow/cpp)
在thirdparty/apache_arrow
存储的整个Apache Arrow项目中。
当我尝试构建项目时,最后的输出行如下:
[cmake] CMake Error: INSTALL(EXPORT) given unknown export "arrow_targets"
[cmake] Generating done
[cms-driver] Error during CMake configure: [cmake-server] Failed to compute build system.
Apache Arrow 可以通过文件夹中的 CMakeLists.txt 轻松构建/cpp
,但是如果我尝试将其包含在 中,为什么会出现错误add_subdirectory
?