Skip to content

Reuse parent-provided ZLIB::ZLIB target - #1

Merged
curlh merged 1 commit into
mainfrom
vcpkg
Oct 7, 2026
Merged

curlh merged 1 commit into
mainfrom
vcpkg

Conversation

@curlh

@curlh curlh commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

When ScopeWriter is added as a subdirectory of a project that already defines ZLIB::ZLIB (for example via a static Qt build that pulls in WrapZLIB), creating the alias fails with a duplicate target error. Only alias the bundled zlibstatic when no ZLIB::ZLIB target exists.

When ScopeWriter is added as a subdirectory of a project that already
defines ZLIB::ZLIB (for example via a static Qt build that pulls in
WrapZLIB), creating the alias fails with a duplicate target error.
Only alias the bundled zlibstatic when no ZLIB::ZLIB target exists.
@curlh
curlh merged commit 681a1c9 into main Oct 7, 2026
2 checks passed
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.

1 participant