<div dir="ltr">need to use install( PROGRAMS ... ) then <div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 9, 2015 at 7:52 AM, Gonzalo Garramuno <span dir="ltr"><<a href="mailto:ggarra13@gmail.com" target="_blank">ggarra13@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>On 08/01/15 21:56, J Decker wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I don't think you should install libraries like that... things in binary would be build products, can you possibly just install the libs as normal<br>
<br>
INSTALL( Target <...> LIBRARY DESTINATION lib )<br>
</blockquote></span>
The lib files are not built by cmake but are dependencies for my program.<br>
<br>
The lib files are symbolic links to the /usr/local/lib directory. For example:<br>
<br>
Release/lib/libfltk2.so.2.0 -> /usr/local/lib/libfltk2.so.2.0<br>
<br>
With the tgz installer, the symlinks are flattened to their respective files.<br>
However, with the deb installer, the symlinks are kept.<br>
I would like the symlink to be flattened also in the deb installer. Then all would be peachy.<div><div><br></div></div></blockquote><div>install( PROGRAM .... ) will keep executable permissions...  (as opposed to using FILES or DIRECTORY )  not sure about symlinks....</div><div> </div><div><a href="http://www.cmake.org/cmake/help/v3.0/command/install.html">http://www.cmake.org/cmake/help/v3.0/command/install.html</a> only references symbolic links once, and that's for Install( TARGET ... ) " <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:16px;line-height:20.7999992370605px;text-align:justify">Either </span><tt class="" style="padding:0px 1px;font-size:0.95em;color:rgb(0,0,0);line-height:20.7999992370605px;text-align:justify;background-color:rgb(236,240,243)"><span class="">NAMELINK_ONLY</span></tt><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:16px;line-height:20.7999992370605px;text-align:justify"> or </span><tt class="" style="padding:0px 1px;font-size:0.95em;color:rgb(0,0,0);line-height:20.7999992370605px;text-align:justify;background-color:rgb(236,240,243)"><span class="">NAMELINK_SKIP</span></tt><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:16px;line-height:20.7999992370605px;text-align:justify"> may be specified as a </span><tt class="" style="padding:0px 1px;font-size:0.95em;color:rgb(0,0,0);line-height:20.7999992370605px;text-align:justify;background-color:rgb(236,240,243)"><span class="">LIBRARY</span></tt><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:16px;line-height:20.7999992370605px;text-align:justify"> option. On some platforms a versioned shared library has a symbolic link such as:"</span><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/<u></u>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/<u></u>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/<u></u>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/<u></u>mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div></div>