rapids_cmake_default_install_component

Added in version v26.08.00.

Sets up component install names for a package dependency managed by rapids_cpm.

rapids_cmake_default_install_component(DEFAULT_USE_PROJECT_NAME)
rapids_cmake_default_install_component(PROJECT <project_name> INSTALL_COMPONENT_NAME <component_name>)

The DEFAULT_USE_PROJECT_NAME option will set the default install component name to the project name or one may set a custom install component name component_name for a given project project_name.

DEFAULT_USE_PROJECT_NAME

Enables the use of project name as the default install component name.

PROJECT

The project name to set a custom install component name for.

INSTALL_COMPONENT_NAME

The install component name to set for a given project.