On 15.09.2011 18:30, David Cole wrote:
> Luigi is correct:
> 
> To use an existing source directory (just use the source in its place
> without any copy operations), simply say:
> 
>   DOWNLOAD_COMMAND ""
>   SOURCE_DIR ${Log4Qt_SOURCE_DIR}
> 
> The default behavior of copying the source tree when it is specified
> via URL is present for two reasons:
>   (1) some packages require an in-source build, and copying the source
> tree is a good way to keep a clean copy of the source tree around
>   (2) it's the same as all the other URL operations: in the http case,
> it's downloaded and then extracted ("copied") into the SOURCE_DIR
> location, in a local directory case, we also chose to make the copy
> simply for ease of implementation
> 

Hi David,

Finally I got it to work. Thanks for the advice. As it turned out, you
have to be careful which other parameters you use: Getting rid of
Download or Update (in my case) commands definitions did the trick.

This makes sense, because otherwise you have to assume you want to
change/patch the sources...

Regards,
Thomas



_______________________________________________
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