Jeff Knupp created ARROW-713:
--------------------------------
Summary: [C++] Fix linking issue with ipc benchmark
Key: ARROW-713
URL: https://issues.apache.org/jira/browse/ARROW-713
Project: Apache Arrow
Issue Type: Bug
Reporter: Jeff Knupp
Assignee: Jeff Knupp
The `CMakeLists.txt` for `src/arrow/ipc` recently added the following 3 lines:
{code}
ADD_ARROW_BENCHMARK(ipc-read-write-benchmark)
ARROW_TEST_LINK_LIBRARIES(ipc-read-write-benchmark
${ARROW_IPC_TEST_LINK_LIBS})
{code}
The second line should be {{ARROW_BENCHMARK_LINK_LIBRARIES}}. Otherwise,
attempting to build gives the following error:
{code}
CMake Error at CMakeLists.txt:358 (target_link_libraries):
Cannot specify link libraries for target "ipc-read-write-benchmark" which
is not built by this project.
Call Stack (most recent call first):
src/arrow/ipc/CMakeLists.txt:176 (ARROW_TEST_LINK_LIBRARIES)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)