Skip to content

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

Merged
matejk merged 1 commit intopocoproject:mainfrom
lopsided98:unbundled-private-libs
May 11, 2025
Merged

CMake: make utf8proc, PCRE2, zlib and expat private dependencies#4937
matejk merged 1 commit intopocoproject:mainfrom
lopsided98:unbundled-private-libs

Conversation

@lopsided98
Copy link
Copy Markdown
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
Copy Markdown
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
@matejk matejk merged commit 33de65c into pocoproject:main May 11, 2025
34 of 36 checks passed
@matejk matejk moved this to Done in 1.14 May 11, 2025
@lopsided98 lopsided98 deleted the unbundled-private-libs branch May 11, 2025 23:04
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

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants