WillAyd opened a new issue, #41617:
URL: https://github.com/apache/arrow/issues/41617
### Describe the bug, including details regarding any error messages,
version, and platform.
Trying to set up a project with boost and flight tests enabled:
```sh
cmake -S cpp -B build -DCMAKE_BUILD_TYPE=Debug -GNinja -DARROW_FLIGHT=ON
-DARROW_TESTING=ON -DBOOST_SOURCE=BUNDLED
```
yields the following errors:
```sh
CMake Error at cmake_modules/BuildUtils.cmake:333 (add_library):
Target "arrow_flight_testing_shared" links to target "Boost::headers" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:333 (add_library):
Target "arrow_flight_testing_shared" links to target "Boost::filesystem"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:333 (add_library):
Target "arrow_flight_testing_shared" links to target "Boost::system" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:427 (add_library):
Target "arrow_flight_testing_static" links to target "Boost::headers" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:427 (add_library):
Target "arrow_flight_testing_static" links to target "Boost::filesystem"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:427 (add_library):
Target "arrow_flight_testing_static" links to target "Boost::system" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:264 (add_library):
Target "arrow_flight_testing_objlib" links to target "Boost::headers" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:264 (add_library):
Target "arrow_flight_testing_objlib" links to target "Boost::filesystem"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:264 (add_library):
Target "arrow_flight_testing_objlib" links to target "Boost::system" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:264 (add_library):
Target "arrow_flight_testing_objlib" links to target "Boost::headers" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:264 (add_library):
Target "arrow_flight_testing_objlib" links to target "Boost::filesystem"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
CMake Error at cmake_modules/BuildUtils.cmake:264 (add_library):
Target "arrow_flight_testing_objlib" links to target "Boost::system" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
src/arrow/flight/CMakeLists.txt:253 (add_arrow_lib)
```
### Component(s)
C++, Developer Tools
--
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]