You're using "COMPONENT" -- have you read up on componentized packaging with CPack?
First google result for "CPack component" is: http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack HTH, David On Thu, Jun 14, 2012 at 1:21 PM, Totte Karlsson <[email protected]>wrote: > 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<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<http://www.cmake.org/Wiki/CMake_FAQ> >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >> > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ> > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >
-- 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
