On Thu, Oct 27, 2011 at 1:35 PM, Alexander Neundorf
<[email protected]> wrote:
>> But I'm confused.
>> http://www.cmake.org/Bug/view.php?id=10395 is marked as fixed in 2.8.4.
>> Does that mean I can do something like
>> set_property(TARGET log4cplus PROPERTY DEPENDS EP_log4cplus)
>> and have it work?
>
> add_dependencies(), yes.

I'm still confused.  Can you give an example?  I thought you had to
use add_dependencies
every time you refer to the external library, and would rather just have
one statement right after externalproject_add that would take care
of the dependency no matter how many times you referred to the external library.

>> If so, shouldn't that be mentioned in
>> http://www.kitware.com/products/html/BuildingExternalProjectsWithCMake2.8.html
>>  ?
>
> That page is from end of 2009, while cmake 2.8.4 is much newer.

Where's the newer doc?
- Dan
--

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