[CMake] Searching once
Matthew Woehlke
mw_triad at users.sourceforge.net
Wed Jan 15 12:23:59 EST 2014
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
More information about the CMake
mailing list