diff options
author | Silvio Traversaro <silvio@traversaro.it> | 2024-01-29 19:32:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-30 16:44:45 (GMT) |
commit | 06af18b9db267926dfd8fd346328a64a41238aa3 (patch) | |
tree | b042ca401e723dcae50ddafe04bf5629826d6cc8 /Help/envvar | |
parent | b0d8b857d8ae4afe83d05eaad451b628817b6dce (diff) | |
download | CMake-06af18b9db267926dfd8fd346328a64a41238aa3.zip CMake-06af18b9db267926dfd8fd346328a64a41238aa3.tar.gz CMake-06af18b9db267926dfd8fd346328a64a41238aa3.tar.bz2 |
cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variable
Fixes: #25023
Diffstat (limited to 'Help/envvar')
-rw-r--r-- | Help/envvar/CMAKE_INSTALL_PREFIX.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/envvar/CMAKE_INSTALL_PREFIX.rst b/Help/envvar/CMAKE_INSTALL_PREFIX.rst new file mode 100644 index 0000000..5c3e055 --- /dev/null +++ b/Help/envvar/CMAKE_INSTALL_PREFIX.rst @@ -0,0 +1,11 @@ +CMAKE_INSTALL_PREFIX +-------------------- + +.. versionadded:: 3.29 + +.. include:: ENV_VAR.txt + +The ``CMAKE_INSTALL_PREFIX`` environment variable specifies a custom default +value for the :variable:`CMAKE_INSTALL_PREFIX` variable in place of the +default values specified by CMake itself. The value specified must be an +absolute path to a directory. |