- with it, a new package-less target is created with the appropriate tool. */
- FileTarget *find_header(const std::string &, const SearchPath &);
+ 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 &, Tool *, const SearchPath &, bool use_syspath = true);