<div dir="ltr">Apologies if this is the wrong list. I tried boost-build but I&#39;m not sure if my message was verified (I don&#39;t see it in the archive).<div><br></div><div>I&#39;m trying to make a build of Boost that includes the generated CMake files.<div><br></div><div>For my case, I need to install the files to a staging area before packaging them up for installation in the target environment. I&#39;ve tried &quot;b2 --stagedir &lt;dir&gt; stage&quot; but the generated CMake files still include the stagedir path in them, instead of the install prefix specified during bootstrap, which triggers errors in the packaging system I need to use. I&#39;m also not sure if it&#39;s then possible to just install the headers to the same staging location.</div><div><br></div><div>Is there a way to install to a staging location while the CMake files have the paths to the final install location? CMake uses CMAKE_STAGING_PREFIX for this but I can&#39;t find an equivalent for b2. I guess it must be required for cross-compiling though, if you want to support CMake on the target?</div><div><br></div><div>Regards,</div><div>Alex</div></div></div>