diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-05-13 13:44:37 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-05-14 20:19:12 (GMT) |
commit | 7ced0732e875ab7cf4797ef33bd4b897bc41eb53 (patch) | |
tree | 8686f60bb78535f916ba5dfeec553cc9b2095cef /Modules/CMakeGenericSystem.cmake | |
parent | b6fba35411053e334072a1203493140c67f3d30a (diff) | |
download | CMake-7ced0732e875ab7cf4797ef33bd4b897bc41eb53.zip CMake-7ced0732e875ab7cf4797ef33bd4b897bc41eb53.tar.gz CMake-7ced0732e875ab7cf4797ef33bd4b897bc41eb53.tar.bz2 |
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
Diffstat (limited to 'Modules/CMakeGenericSystem.cmake')
-rw-r--r-- | Modules/CMakeGenericSystem.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakeGenericSystem.cmake b/Modules/CMakeGenericSystem.cmake index 45d1fbf..6c61d3d 100644 --- a/Modules/CMakeGenericSystem.cmake +++ b/Modules/CMakeGenericSystem.cmake @@ -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 |