InstallRequiredSystemLibraries: Add option to specify install COMPONENT

Previously the module did not support projects using installation
components because install(PROGRAMS) was never called with COMPONENT.
Add an option to specify the COMPONENT so that projects doing this do
not have to resort to using CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP and
writing the install rule by hand.
This commit is contained in:
Johan Andruejol
2015-03-02 14:28:14 -05:00
committed by Brad King
parent d6a320ab5e
commit e97141c2bc
2 changed files with 18 additions and 2 deletions
@@ -0,0 +1,6 @@
InstallRequiredSystemLibraries-COMPONENT
----------------------------------------
* The :module:`InstallRequiredSystemLibraries` module learned a new
``CMAKE_INSTALL_SYSTEM_RUNTIME_COMPONENT`` option to specify the
installation component.