docopt / docopt.cpp

C++11 port of docopt
Boost Software License 1.0
1.04k stars 146 forks source link

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

Open tdegeus opened 4 years ago

tdegeus commented 4 years ago

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 commented 4 years ago

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