Import 2017-06-07 23:51:09: master 0d6d4872

Author Committer Branch Timestamp Parent
johan.andruejol johan.andruejol master 2015-03-02 18:18:33 master e6f4f135
Affected Issues 0003972: Packaging does not include system libraries
Changeset

COMP: Fix redistributable system libraries in packaging. Fixes 0003972

This commit fixes a regression introduced by r23158 (Explicitly installs
the needed component and skips the development component if not explicitly
requested.). When Slicer switched to using component for packaging, the VS
redistributable libraries were not included anymore in the package. This
is explained by the fact the CMake module "InstallRequiredSystemLibraries"
does not support components.

Waiting the issue reported on CMake bug tracker [1] is resolved and the
minimum required CMake version is updated, this commit duplicates the logic
installing the redistributable libraries specifying the "RuntimeLibraries"
component.

[1] http://www.cmake.org/Bug/view.php?id=15428)

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24010 3bd1e089-480b-0410-8dfb-8563597acbee

mod - CMake/SlicerCPack.cmake Diff File