On 2014-01-15 11:11, Williams, Norman K wrote:
You want the load_cache command:
[snip]

An *installed* project (what Al mentioned in his original e-mail) probably doesn't have a cache... this would only work if using the build-directory version of the dependency project.

The solution I proposed is probably better, as it can be used with both a built or installed dependency (assuming that the installed version references other installed versions of its own dependencies and/or the builds of the same are still available).

(OTOH if that last part isn't true, the transitive dependencies just won't be used, with either technique.)

--
Matthew

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to