When executing the install target in my projet, the dll goes to the bin
folder and the lib goes to the lib folder. That is all good.
But when running CPACK only the .lib file is packaged, and not the DLL.
Why??
May be because you are doing component packaging and that the
COMPONENT part of install(TARGETS should be repeated
for each DESTINATION.
i.e.
install(TARGETS ${target}
RUNTIME DESTINATION bin COMPONENT rr_core
LIBRARY DESTINATION lib COMPONENT rr_core
ARCHIVE DESTINATION lib COMPONENT rr_core
)
Worked perfectly!
Thanks,
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