[CMake] CPack are not packing dll
Totte Karlsson
totte at dunescientific.com
Tue Jun 12 19:08:29 EDT 2012
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
More information about the CMake
mailing list