bkietz commented on issue #43668:
URL: https://github.com/apache/arrow/issues/43668#issuecomment-2287169393
Hi! Our options resolution (see `DefineOptions.cmake`) isn't currently
equipped to deal with CPM and our dependency management isn't currently aware
of CPM (see `ThirdpartyToolchain.cmake::resolve_dependency()`). To get a
minimal build working, pass some cmake options explicitly:
```cmake
cmake_minimum_required(VERSION 3.30)
project(arrow_with_CPM)
include(cmake/CPM.cmake)
cpmaddpackage(
NAME ApacheArrow
GITHUB_REPOSITORY apache/arrow
GIT_TAG apache-arrow-17.0.0
SOURCE_SUBDIR "./cpp" # this is relative to the top directoy of the
cloned repository
OPTIONS
"ARROW_DEFINE_OPTIONS ON"
"ARROW_SIMD_LEVEL NONE"
"ARROW_RUNTIME_SIMD_LEVEL NONE"
)
```
In the longer term, it'd be neat to support acquiring our own dependencies
with CMake
--
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]