Skip to content
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

CMake Windows: install *.dll in the correct location #125

Open
tdegeus opened this issue Dec 2, 2019 · 1 comment
Open

CMake Windows: install *.dll in the correct location #125

tdegeus opened this issue Dec 2, 2019 · 1 comment

Comments

@tdegeus
Copy link
Contributor

tdegeus commented Dec 2, 2019

The *.dll on Windows is currently being installed in %PREFIX%\Library\lib which should however be %PREFIX%\Library\bin. The fix is to set

install(TARGETS ...
           LIBRARY DESTINATION "lib"
           ARCHIVE DESTINATION "lib"
           RUNTIME DESTINATION "bin"
           ....)

Will open a PR.

References:

@tdegeus tdegeus mentioned this issue Dec 2, 2019
@tdegeus
Copy link
Contributor Author

tdegeus commented Dec 2, 2019

See test results that currently fail over the missing dll: Build status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant