-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I build DLLs from vcpkg into CPack
ed installer?
#18943
Comments
Hey! Add to
|
Thanks I added that but it didn't copy the DLLs over. Is it CPack compatible? |
CPack relies on CMake install comands and additional staging directories. I have no ideas if this works with vcpkg's staging, install, and applocal install. For cross-platform deployment of DLLs without vcpkg, I normally use CMake's BundleUtilities. IIUC parts of these functions now even became part of the |
@dg0yt Yes I tried that approach https://gitlab.kitware.com/cmake/cmake/-/issues/22431 https://gitlab.kitware.com/cmake/cmake/-/issues/22006 |
Did you run cmake install command? |
CPack is running cmake install.
|
We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info. |
I'm using
cpack -G WIX -C Debug
on my SamuelMarks/cmake-example-with-vcpkg. Which produces a nice installer, but it doesn't copy/installzlibd1.dll
(fromvcpkg
).How is this meant to work?
The text was updated successfully, but these errors were encountered: