Oh, exactly! Cheers.

Daniel Stonier.

2009/12/19 Anatoly Shirokov <[email protected]>

>  This is important that DESTINATION must not be absolute:
>
> install(... DESTINANATION bin ) - correct
> install(... DESTINANATION ${CMAKE_INSTALL_PREFIX}/bin ) - incorrect
>
> BR,
> Anatoly
>
> Daniel Stonier :
>
> This is my first shot at cpack, so I may be missing something entirely
> obvious here.
>
>  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.
>
>  A normal cmake install will install everything, but cpack, when run, will
> only pick up the libraries.
>
>  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.
>
>  Any pointers?
>
>
> Cheers,
>  Daniel.
>
> ------------------------------
>
> _______________________________________________
> 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

Reply via email to