MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014724 | CMake | CMake | public | 2014-01-29 19:12 | 2016-06-10 14:31 |
Reporter | Craig Scott | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Any | OS | OS Version | ||
Product Version | CMake 2.8.12.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014724: InstallRequiredSystemLibraries does not work with component-based installers | ||||
Description | The InstallRequiredSystemLibraries CMake module includes code which invokes the install() command (see the end of InstallRequiredSystemLibraries.cmake). Unfortunately, it provides no opportunity to specify an install COMPONENT to be included in that, so when you use a component-based installer, the system runtime libraries cannot be pulled in. It is probably relatively simple to provide an additional CMake variable to optionally specify an install component and if that variable is non-empty, use that as the component name in the install() command. I'd propose something like CMAKE_INSTALL_SYSTEM_RUNTIME_COMPONENT as the variable name, but anything that is sane (and documented!) should be fine. | ||||
Steps To Reproduce | Include the InstallRequiredSystemLibraries module on a platform where it makes a difference (currently only Windows with Visual Studio compilers I think). Make sure the project builds a binary linked to a runtime (eg MSVC runtime) and install that target using a COMPONENT. Then invoke the packaging as a component-based installer. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-01-29 19:12 | Craig Scott | New Issue | |||
2014-02-03 23:22 | Clinton Stimpson | Note Added: 0035033 | |||
2014-02-03 23:59 | Craig Scott | Note Added: 0035034 | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042471 | |||
2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|