Skip to content

[qca] fails to be found in manifest mode / absolute path #20970

@m-kuhn

Description

@m-kuhn

Describe the bug
Cannot find / link against qca in manifest mode,

Build directory: C:\builddir
Vcpkg: C:\src

CMake Error at C:/builddir/vcpkg_installed/x64-windows/share/qca/cmake/QcaTargets.cmake:73 (message):
  The imported target "qca" references the file

     "C:/src/installed/x64-windows/lib/qca.lib"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.
-- Configuring incomplete, errors occurred!
See also "C:/builddir/CMakeFiles/CMakeOutput.log".

See also "C:/builddir/CMakeFiles/CMakeError.log".
  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "C:/builddir/vcpkg_installed/x64-windows/share/qca/cmake/QcaTargets.cmake"

QcaTargets.cmake assumes an installation inside the default vcpkg install folder <vcpkg>/installed/<triplet> whereas it's actually inside <build>/vcpkg_installed/<triplet>.

Environment

  • OS: all (at least Windows, macos, linux)

To Reproduce
Steps to reproduce the behavior:

  1. Create an overlay with a package that depends on qca
  2. Build in manifest mode

Expected behavior
Qca found and linked properly

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