[cmake-developers] [CMake 0015428]: InstallRequiredSystemLibraries.cmake does not work when installing with component

Mantis Bug Tracker mantis at public.kitware.com
Mon Mar 2 14:29:30 EST 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15428 
====================================================================== 
Reported By:                johan andruejol
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15428
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-03-02 14:29 EST
Last Modified:              2015-03-02 14:29 EST
====================================================================== 
Summary:                    InstallRequiredSystemLibraries.cmake does not work
when installing with component
Description: 
The libraries found with the InstallRequiredSystemLibraries.cmake always have
the 
"Unspecified" component since no component is specified. This makes project that
package with the component option (CPACK_INSTALL_CMAKE_PROJECTS) not install
those
libraries.

I included a patch that could be a solution to this problem.

Steps to Reproduce: 
For example, Slicer as of
https://github.com/Slicer/Slicer/commit/454fed0f5f2f8ea18269f2bfdfc4733326c4c6d7
does not package the windows redistributable libraries. 
(See also download.slicer.org/bitstream/325826)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-03-02 14:29 johan andruejolNew Issue                                    
2015-03-02 14:29 johan andruejolFile Added:
0001-Modules-Add-component-option-for-InstallRequiredSyst.patch                 
  
======================================================================



More information about the cmake-developers mailing list