CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH

From Get docs
Cmake/docs/3.21/variable/cmake install remove environment rpath


CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH

New in version 3.16.


Sets the default for whether toolchain-defined rpaths should be removed during installation.

CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH is a boolean that provides the default value for the INSTALL_REMOVE_ENVIRONMENT_RPATH property of all subsequently created targets.

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