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

Akshay


On Mon, Sep 12, 2011 at 12:36 PM, Akshay <[email protected]> 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 <[email protected]>wrote:
>
>> 2011/9/12 Akshay <[email protected]>:
>> > 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
>>
>
>
_______________________________________________
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