Skip to content

Commit b202264

Browse files
committed
Try supporting CMake dependency resolution again
1 parent f3f877d commit b202264

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

python/pyarrow/meson.build

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,17 +95,8 @@ arrow_compute_dep = dependency(
9595
'ArrowCompute',
9696
modules: ['ArrowCompute::arrow_compute_shared'],
9797
)
98-
arrow_csv_dep = dependency('arrow-csv')
99-
arrow_fs_dep = dependency('arrow-filesystem')
100-
arrow_json_dep = dependency('arrow-json')
101-
102-
libpyarrow_deps = [
103-
arrow_dep,
104-
arrow_compute_dep,
105-
arrow_csv_dep,
106-
arrow_fs_dep,
107-
arrow_json_dep,
108-
]
98+
99+
libpyarrow_deps = [arrow_dep, arrow_compute_dep]
109100

110101
needs_substrait = get_option('substrait').enabled()
111102
needs_dataset = get_option('dataset').enabled() or needs_substrait
@@ -147,7 +138,11 @@ if needs_dataset
147138
endif
148139

149140
if needs_flight
150-
arrow_flight_dep = dependency('arrow-flight')
141+
arrow_flight_dep = dependency(
142+
'arrow-flight',
143+
'ArrowFlight',
144+
modules: ['ArrowFlight::arrow_flight_shared'],
145+
)
151146
libpyarrow_deps += [arrow_flight_dep]
152147
endif
153148

0 commit comments

Comments
 (0)