Bypassing vcpkg for a specific package or dependency only #22836
-
|
I have a use case where I would like to prevent vcpkg from providing a specific package, and instead let Things I've explored but which don't quite fit:
I understand the dangers of doing what I'm trying to do. I also understand it goes against the thinking behind vcpkg. Nevertheless, I'm interested in whether there's a relatively simple way to achieve this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Create an empty port in the overlay for whatever you want the system to provide. The only thing the |
Beta Was this translation helpful? Give feedback.
Create an empty port in the overlay for whatever you want the system to provide. The only thing the
portfile.cmakeneeds is:set(VCPKG_POLICY_EMPTY_PACKAGE enabled)