Skip to content

CMake: make utf8proc, PCRE2, zlib and expat private dependencies #4937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lopsided98
Copy link
Contributor

In the unbundled build, utf8proc, PCRE2, zlib and expat were all included as part of the CMake link interface, and therefore the CMake config file required find_dependency() calls for each.

These libraries are internal implementation details of Poco and are not exposed in any public API (as of #4724). Therefore, we can make them private dependencies and avoid the find_dependency() calls and their associated find scripts.

In the unbundled build, utf8proc, PCRE2, zlib and expat were all
included as part of the CMake link interface, and therefore the CMake
config file required find_dependency() calls for each.

These libraries are internal implementation details of Poco and are not
exposed in any public API. Therefore, we can make them private
dependencies and avoid the find_dependency() calls and their associated
find scripts.
@matejk
Copy link
Contributor

matejk commented Apr 18, 2025

Thanks for this contribution.

@matejk matejk added this to the Release 1.14.2 milestone Apr 18, 2025
@matejk matejk added this to 1.14 Apr 18, 2025
@matejk matejk added enhancement buildsystem cmake Related to cmake build system labels Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buildsystem cmake Related to cmake build system enhancement
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants