<p><br>
Hi All !</p>
<p>I'm using cmake for a few months ago and I just started to try to use cpack to distribute my application. I use some lib's, including some Kitware libraries. I had build a CPackConfig.cmaje file and when I execute "cpack", I receive the following message:</p>
<p>CPack: Create package using TGZ<br>
CPack: Install projects<br>
CPack: - Install directory: /root/medsquare/<br>
CPack Error: Cannot create symlink: /lib/libvtkgdcm.so.2.0--> libvtkgdcm.so.2.0.18<br><br></p>
<p>My main question is: I searched at the history of the CMake archive and found the answer that I should type "cpack -E create_symlink" that should solve it. But it didn't work and my doubt include the fact that this option doesn't appear at the Man CPACK file or the website documentation.<br>
</p>
<p>Someone has already passed trough it ?</p>
<p>Here is my cpack lines:</p>
<p>set(CPACK_GENERATOR, "TZ")<br>
set(CPACK_INSTALL_DIRECTORY "MedSquare")<br>
set(CPACK_SOURCE_INSTALLED_DIRECTORIES "/root/medsquare/;source")<br>
set(CPACK_DEFAULT_LOCATION "./")<br>
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY "1")<br>
set(CPACK_INSTALL_CMAKE_PROJECTS "/root/medsquare/source")<br>
set(CPACK_INTALL_PREFIX "/root/medsquare/installer")<br>
set(CPACK_PACKAGE_FILE_NAME "medsquare")<br>
set(CPACK_PACKAGE_INSTALL_DIRECTORY "/root/medsquare")<br>
set(CPACK_PACKAGING_INSTALL_PREFIX "/root/medsquare")<br>
include(CPack)<br><br></p>
<p>Thanks,</p>
<p>Kassim<br>
</p>