[CMake] CPack question.

Akshay akshay.ranjan at gmail.com
Mon Sep 12 12:04:21 EDT 2011


Thanks Eric. Everything working now. I was using absolute paths in INSTALL
commands.

Akshay


On Mon, Sep 12, 2011 at 12:36 PM, Akshay <akshay.ranjan at gmail.com> wrote:

> I'll try and get back. Thanks very much for the help.
>
> Akshay
>
>
>
> On Mon, Sep 12, 2011 at 12:34 PM, Eric Noulard <eric.noulard at gmail.com>wrote:
>
>> 2011/9/12 Akshay <akshay.ranjan at gmail.com>:
>> > Hi Eric,
>> >
>> > Just to clarify, INSTALL command are present in the sibling source
>> > directories' CMakeLists.txt and not in the main CMakeLists.txt. Would
>> this
>> > change the behavior of CPack (which is present only in the main
>> > CMakeLists.txt) ?
>>
>> No it shouldn't.
>> Provided that:
>>
>> add_subdirectory comes before include(CPack) in the main CMakeLists.txt
>> and
>> install command do not use absolute install path.
>>
>> --
>> Erk
>> Membre de l'April - « promouvoir et défendre le logiciel libre » -
>> http://www.april.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110912/d044d937/attachment.htm>


More information about the CMake mailing list