Error on multiple find_package calls for the same library #33297
Labels
category:port-bug
The issue is with a library, which is something the port should already support
depends:upstream-changes
Waiting on a change to the upstream project
Describe the bug
Calling find_package in cmake multiple times on the same library leads to cmake errors for trying to define the same library multiple times.
For example:
I suppose I should report this upstream and not complain here in principle. But I think it would be great if there was a CI test for this in vcpkg to avoid this happening. It gets quite confusing for users of vcpkg to track down these problems.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: