Skip to content

[curlpp] build failure #10714

@cenit

Description

@cenit

Host Environment

  • OS: Windows
  • Compiler: VS 2019 16.5.2

To Reproduce
Steps to reproduce the behavior:
./vcpkg install curlpp

Failure logs

-- Found CURL version: 7.68.0-DEV
-- Using CURL include dir(s): C:/vcpkg/installed/x86-windows/include
-- Using CURL lib(s): optimized;C:/vcpkg/installed/x86-windows/lib/libcurl.lib;debug;C:/vcpkg/installed/x86-windows/debug/lib/libcurl-d.lib;wldap32;winmm;ws2_32;advapi32;crypt32;advapi32;ZLIB::ZLIB
-- Configuring done
CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:215 (_add_library):
  Target "curlpp" links to target "ZLIB::ZLIB" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  CMakeLists.txt:89 (add_library)

Additional context
The problem is not related to curlpp itself, but to curl's vcpkg-cmake-wrapper.cmake, which is missing a key find_package(ZLIB)

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions