Skip to content

[CURL] error on find_package(CURL CONFIG) #3053

@miurahr

Description

@miurahr

When testing with simple project, it fails building with error on find_package(CURL CONFIG)

test project: https://github.com/miurahr/vcpkg_curl_testcase
test result: https://ci.appveyor.com/project/miurahr/vcpkg-curl-testcase

CMake Error at C:/Tools/vcpkg/installed/x86-windows/share/curl/libcurl-target.cmake:78 (message):
  The imported target "CURL::libcurl" references the file
     "C:/Tools/vcpkg/installed/x86-windows/debug/lib/libcurl-d_imp.lib"
  but this file does not exist.  Possible reasons include:
  * The file was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and contained
     "C:/Tools/vcpkg/installed/x86-windows/share/curl/libcurl-target.cmake"
  but not all the files it references.
Call Stack (most recent call first):
  C:/Tools/vcpkg/installed/x86-windows/share/curl/curl-config.cmake:15 (include)
  C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake:263 (_find_package)
  CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/Tools/vcpkg/build/CMakeFiles/CMakeOutput.log".
Command exited with code 1

Metadata

Metadata

Assignees

No one assigned

    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