/** Locates a source file. If a file is found but no target is associated
with it, a new package-less target is created with the appropriate tool. If
use_syspath is true, the system path reported by the tool is also searched. */
- FileTarget *find_header(const std::string &, const SearchPath &, bool use_syspath = true);
+ FileTarget *find_header(const std::string &, Tool *, const SearchPath &, bool use_syspath = true);
/** Locates a library. The library name should be the same as what would be
used in linking with the library. If a file is found but no target is