<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
This is important that DESTINATION must not be absolute:<br>
<br>
install(... DESTINANATION bin ) - correct<br>
install(... DESTINANATION ${CMAKE_INSTALL_PREFIX}/bin ) - incorrect<br>
<br>
BR,<br>
Anatoly <br>
<br>
Daniel Stonier :
<blockquote
 cite="mid:27dfa3d0912180130n101325f8x2998f70ed33e30d9@mail.gmail.com"
 type="cite">
  <div>This is my first shot at cpack, so I may be missing something
entirely obvious here.<br>
  </div>
  <div><br>
  </div>
  <div>I have two parts to the install on my project, one are the libs,
the other are the headers. The libs are installed via the
INSTALL(TARGET ...) command, whereas the headers are installed via the
INSTALL(FILES ... ) command.</div>
  <div><br>
  </div>
  <div>A normal cmake install will install everything, but cpack, when
run, will only pick up the libraries. </div>
  <div><br>
  </div>
  <div>I can't seem to find any information that seems to indicate that
this is normal in the documentation, but neither can I find any
information that say this is what it appears to be - broken.</div>
  <div><br>
  </div>
  <div>Any pointers?</div>
  <div><br>
  </div>
  <div><br>
Cheers, <br>
  </div>
  <div>Daniel.</div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</blockquote>
</body>
</html>