Skip to content

Commit e7f1d0f

Browse files
fix(cmake): require Parquet when using system Arrow (#541)
When using system Arrow, ensure Parquet is also discovered so Parquet::parquet_* targets are available for iceberg_bundle linking. This restores find_package(Parquet) and adds Parquet to ICEBERG_SYSTEM_DEPENDENCIES to avoid missing target errors.
1 parent c46b38e commit e7f1d0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake_modules/IcebergThirdpartyToolchain.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ function(resolve_arrow_dependency)
151151
endif()
152152
else()
153153
set(ARROW_VENDORED FALSE)
154-
list(APPEND ICEBERG_SYSTEM_DEPENDENCIES Arrow)
154+
find_package(Arrow CONFIG REQUIRED)
155+
find_package(Parquet CONFIG REQUIRED)
156+
list(APPEND ICEBERG_SYSTEM_DEPENDENCIES Arrow Parquet)
155157
endif()
156158

157159
set(ICEBERG_SYSTEM_DEPENDENCIES

0 commit comments

Comments
 (0)