Skip to content

[C++] CMake error for ninja-debug preset #40751

@zanmato1984

Description

@zanmato1984

Describe the bug, including details regarding any error messages, version, and platform.

I'm building arrow cpp using CMake preset ninja-debug, with system provided protobuf:
cmake ../arrow/cpp --preset=ninja-debug

And got error message:

CMake Error at cmake_modules/ThirdpartyToolchain.cmake:1823 (message):
  ARROW_WITH_PROTOBUF must be propagated in the build tooling installation.
  Please extend the mappings of ARROW_PROTOBUF_ARROW_CMAKE_PACKAGE_NAME and
  ARROW_PROTOBUF_ARROW_PC_PACKAGE_NAME for newly introduced dependencies on
  protobuf.
Call Stack (most recent call first):
  CMakeLists.txt:543 (include)

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions