CMAKE_BUILD_WITH_INSTALL_NAME_DIR

From Get docs
Cmake/docs/3.21/variable/cmake build with install name dir


CMAKE_BUILD_WITH_INSTALL_NAME_DIR

New in version 3.9.


Whether to use INSTALL_NAME_DIR on targets in the build tree.

This variable is used to initialize the BUILD_WITH_INSTALL_NAME_DIR property on all targets.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_BUILD_WITH_INSTALL_NAME_DIR.html