CMAKE_INSTALL_DEFAULT_COMPONENT_NAME
Default component used in install() commands.
If an install() command is used without the COMPONENT argument, these files will be grouped into a default component. The name of this default install component will be taken from this variable. It defaults to Unspecified.
There is a special component name:
-
<PROJECT_NAME> -
Added in version 4.4.
This literal placeholder will expand to the contents of the
PROJECT_NAMEvariable when theinstall()command is evaluated. If noproject()command has been called it defaults toUnspecified.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.html