Dear all,

I'm trying to use 'ExternalProject' command but, at compilation time of the final project, I cannot add include directories of third-party libraries on which this external project depends...

Illustration on an example:
- Project 'A' (final one) uses ExternalProject to co, build and install 'B', which depends himself on 'C' - In a file from 'A', I include a header from 'B', which itself include a header from 'C' - In project A, I specify include dirs of project B (is it possible to avoid it by the way ?), but I want to avoid to specify those from C, as there is no direct link

What's the best way to handle such kind of dependencies with ExternalProject ? I would like a solution as simple as in the Find modules.

Thank you in advance for any hint,

Olivier
--

--

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