<div dir="ltr">Can anyone confirm whether invoking cpack directly rather than "cmake --build . --target package" would still give the same RPATH handling? Specifically, the install/packaging step rewrites the rpaths in at least some cases (e.g. see the docs for CMAKE_BUILD_WITH_INSTALL_RPATH) and I'm wanting to ensure I still get this if I just run cpack directly.<div><br></div><div>Ref: <a href="https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.html">https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_WITH_INSTALL_RPATH.html</a><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Craig Scott<br><div>Melbourne, Australia</div><div><a href="https://crascit.com" target="_blank">https://crascit.com</a><br></div></div></div></div></div></div></div>
</div></div>