2012/6/13 Totte Karlsson <[email protected]>: > 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.
Which version of CPack ? Which CPack generator ? In which context (command line, VIsual Studio, Eclipse ) do you launch CPack? Does CPack "announce" that it installs "c_api" component? > Any hints on how to get that working? CPack 'worked' when using install( > FILES....) It should work, but we must miss some information in order to understand why it doesn't.... -- Erk Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org -- 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
