mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 04:10:05 -06:00
make default install component name configurable
Until now an unnamed component was always named "Unspecified". Now this name is taken from the new cmake variable CMAKE_INSTALL_DEFAULT_COMPONENT_NAME, which is initialized to "Unspecified". But it can now be set to something project-specific, per directory Alex
This commit is contained in:
@@ -168,6 +168,10 @@ ELSE(CMAKE_HOST_UNIX)
|
||||
SET(CMAKE_GENERIC_PROGRAM_FILES)
|
||||
ENDIF(CMAKE_HOST_UNIX)
|
||||
|
||||
# Set a variable which will be used as component name in install() commands
|
||||
# where no COMPONENT has been given:
|
||||
SET(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "Unspecified")
|
||||
|
||||
MARK_AS_ADVANCED(
|
||||
CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH
|
||||
|
||||
Reference in New Issue
Block a user