@@ -326,6 +326,11 @@ arrow_lib = library(
326
326
install : true ,
327
327
)
328
328
329
+ arrow_dep = declare_dependency (
330
+ include_directories : [include_dir],
331
+ link_with : arrow_lib,
332
+ )
333
+
329
334
# Meson does not allow you to glob for headers to install. See also
330
335
# https://mesonbuild.com/FAQ.html#why-cant-i-specify-target-files-with-a-wildcard
331
336
# install_subdir would be usable if the directory only contained headers
@@ -397,15 +402,12 @@ endif
397
402
arrow_test_lib = static_library (
398
403
' arrow_testing' ,
399
404
sources : arrow_testing_srcs,
400
- include_directories : [include_dir],
401
- link_with : [arrow_lib],
402
- dependencies : [filesystem_dep, gtest_main_dep],
405
+ dependencies : [arrow_dep, filesystem_dep, gtest_main_dep],
403
406
)
404
407
405
408
arrow_test_dep = declare_dependency (
406
- link_with : [arrow_lib, arrow_test_lib],
407
- include_directories : [include_dir],
408
- dependencies : [filesystem_dep, gmock_dep, gtest_main_dep],
409
+ link_with : [arrow_test_lib],
410
+ dependencies : [arrow_dep, filesystem_dep, gmock_dep, gtest_main_dep],
409
411
)
410
412
411
413
array_array_test = executable (
0 commit comments