[CMake] CPack are not packing dll

Totte Karlsson totte at dunescientific.com
Thu Jun 14 13:21:53 EDT 2012


Hi,

Have anyone else encountered the cpack not packing of installs in a install 
statement? Or should it be used differently?

-totte

On 6/12/2012 4:08 PM, Totte Karlsson wrote:
> Hi,
>
> For a certain library, I changed my CMake file to using the following
>
> install (
> TARGETS ${target}
> RUNTIME DESTINATION bin
> LIBRARY DESTINATION lib
> ARCHIVE DESTINATION lib
> COMPONENT c_api)
>
>
> It works fine "installing", but when running CPack, the dll is not packed, but
> the import lib is.
>
> Any hints on how to get that working? CPack 'worked' when using install( FILES....)
>
>
> -totte
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list