<div dir="ltr">I just pushed a branch to the topic stage to address a long standing issue I've had with cross compiling and toolchain files. The branch, add-find-root-system_only-mode , adds a new SYSTEM_ONLY mode to the root path search options. Currently the possible options are:<br>
<ul><li>ONLY - re-roots all searches to the specified root paths</li><li>NEVER - entirely ignores the root path</li><li>BOTH - combines the paths from ONLY and NEVER</li></ul><p>The new hybrid mode allows the default search location to be re-rooted and any user specified paths to be untouched. This is particularly common for HPC systems which have a minimalist shared system root available as read-only but you also have a super-build which you want to re-use certain components of without having to specify the full path to every library and include directory, i.e. let CMake find things in it.</p>
<p>Any feedback would be welcome.<br></p><br clear="all"><div><div><div dir="ltr">- Chuck<br></div></div>
</div></div>