Back to Cmake

CMAKE_INSTALL_PREFIX

Help/envvar/CMAKE_INSTALL_PREFIX.rst

4.3.2352 B
Original Source

CMAKE_INSTALL_PREFIX

.. versionadded:: 3.29

.. include:: include/ENV_VAR.rst

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.