Replies: 1 comment 3 replies
-
You are probably looking for the option see https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_cmake_install#add_bin_to_path |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was struggling to find why the build of my package is failing during the vcpkg install while it works when building when running CMake directly. I've found out that the reason is that runtime dependencies are missing in the vcpkg buildtree dir. This is because the libraries are copied automatically by the vcpkg toolchain file, a functionality that is disabled when building the port (option
VCPKG_APPLOCAL_DEPS
)I could definitely hack it somehow, but I feel like I'm missing the philosophy of this measure; why is it enabled by default for builds but not for installations? And what is the correct way to configure the port so that the dependency libraries are available at runtime?
Beta Was this translation helpful? Give feedback.
All reactions