Make sure that you're including the "RUNTIME DESTINATION" variable set on your install command. In windows, the .dll is considered a runtime object just like the .exe. If you're only setting "LIBRARY DESTINATION", then you'll only be installing the .lib file.
-- Shane Dixon Linux Engineer Atmel Corporation -----Original Message----- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Jackson Sent: Friday, November 13, 2009 2:39 PM To: cmake Mailing List Subject: [CMake] CPack not packaging DLL, only the import library. Another dumb friday question: I have the packaging mostly working except that when I generate a windows DLL project only the import library is packaged up, leaving the actual DLL library behind. What might be causing this? _________________________________________________________ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Software www.bluequartz.net Principal Software Engineer Dayton, Ohio _______________________________________________ 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 _______________________________________________ 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