Skip to content

Conversation

@wgtmac
Copy link
Member

@wgtmac wgtmac commented Apr 25, 2025

No description provided.

${FC_DECLARE_COMMON_OPTIONS}
URL ${ARROW_SOURCE_URL}
URL_HASH "SHA256=${ICEBERG_ARROW_BUILD_SHA256_CHECKSUM}"
GIT_REPOSITORY https://github.com/wgtmac/arrow.git
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still on my fork: apache/arrow#46232. Will update it once merged and released.

kou pushed a commit to apache/arrow that referenced this pull request Apr 28, 2025
…lly accessible by FetchContent (#46232)

### Rationale for this change

`arrow_bundled_dependencies` is an IMPORTED library which links to `arrow_bundled_dependencies_merge`. When arrow-cpp is used externally as a third-party dependency via CMake `FetchContent`, target `arrow_bundled_dependencies` is not accessible by the parent project (but `arrow_bundled_dependencies_merge` is). It is difficult for the parent project to locate the built product of `arrow_bundled_dependencies_merge` and install it.

### What changes are included in this PR?

Change `IMPORTED` library `arrow_bundled_dependencies` to be `GLOBAL`.

### Are these changes tested?

- Pass all CIs.
- Verified to work by apache/iceberg-cpp#89

### Are there any user-facing changes?

I don't think so.

* GitHub Issue: #46231

Authored-by: Gang Wu <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Copy link
Collaborator

@zhjwpku zhjwpku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Fokko Fokko merged commit 1375104 into apache:main Apr 29, 2025
6 checks passed
@Fokko
Copy link
Contributor

Fokko commented Apr 29, 2025

Thanks @wgtmac for adding this, and thanks @zhjwpku for the review 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants