Skip to content

Commit db1a8a9

Browse files
authored
GH-47303: [C++] Don't install arrow-compute.pc twice (#47304)
### Rationale for this change Both of https://github.com/apache/arrow/blob/97c9bfcdf8a9b864414fb5457a1c3f7a5747a3f1/cpp/src/arrow/CMakeLists.txt#L845-L866 and https://github.com/apache/arrow/blob/97c9bfcdf8a9b864414fb5457a1c3f7a5747a3f1/cpp/src/arrow/compute/CMakeLists.txt#L22-L25 install `arrow-compute.pc`. We don't need to install `arrow-compute.pc` multiple times. ### What changes are included in this PR? Remove `arrow_add_pkg_config("arrow-compute")`. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #47303 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 97c9bfc commit db1a8a9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cpp/src/arrow/compute/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ add_custom_target(arrow-compute-tests)
1919

2020
arrow_install_all_headers("arrow/compute")
2121

22-
if(ARROW_COMPUTE)
23-
# pkg-config support
24-
arrow_add_pkg_config("arrow-compute")
25-
endif()
26-
2722
#
2823
# Unit tests
2924
#

0 commit comments

Comments
 (0)