Skip to content

[iir1] find_package failed #23940

@miyanyan

Description

@miyanyan

Host Environment

  • OS: Windows
  • Compiler: msvc2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install iir1
find_package(iir REQUIRED)

Failure logs

[CMake] -- Found NumCpp: D:/CloneFromGithub/vcpkg/installed/x64-windows/include (found version 2.6.0)
1> [CMake] CMake Error at D:/CloneFromGithub/vcpkg/scripts/buildsystems/vcpkg.cmake:782 (_find_package):
1> [CMake]   Could not find a package configuration file provided by "iir" with any of
1> [CMake]   the following names:
1> [CMake] 
1> [CMake]     iirConfig.cmake
1> [CMake]     iir-config.cmake
1> [CMake] 
1> [CMake]   Add the installation prefix of "iir" to CMAKE_PREFIX_PATH or set "iir_DIR"
1> [CMake]   to a directory containing one of the above files.  If "iir" provides a
1> [CMake]   separate development package or SDK, be sure it has been installed.
1> [CMake] Call Stack (most recent call first):
1> [CMake]   src/CMakeLists.txt:15 (find_package)
1> [CMake] -- Configuring incomplete, errors occurred!

Additional context
the port's name is "iir1" while using find_package(iir):
image

so the search path of iir-config.cmakewill be installed/x64-windows/share/iir

however, vcpkg only creates dir installed/x64-windows/share/iir1, thusfind_package(iir) failed

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