summaryrefslogtreecommitdiff
path: root/CMakeCPack.cmake
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2016-07-13 00:10:28 +0300
committerBrad King <brad.king@kitware.com>2016-07-13 10:02:12 -0400
commit8ae035a569a0e548ca52f042e468477886a53240 (patch)
tree3ee63121e013a59e1f32bd3da6e46265e0aaeadb /CMakeCPack.cmake
parent53df6d5995bef4a4884ede870c7b904033395ce2 (diff)
downloadcmake-8ae035a569a0e548ca52f042e468477886a53240.tar.gz
CMake: install COMPONENT cmcldeps
Added in Tools group with IFW installer
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r--CMakeCPack.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake
index 8879cb9870..60011ae07a 100644
--- a/CMakeCPack.cmake
+++ b/CMakeCPack.cmake
@@ -70,6 +70,9 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
# Components
if(CMake_INSTALL_COMPONENTS)
set(_CPACK_IFW_COMPONENTS_ALL cmake ctest cpack)
+ if(WIN32 AND NOT CYGWIN)
+ list(APPEND _CPACK_IFW_COMPONENTS_ALL cmcldeps)
+ endif()
if(APPLE)
list(APPEND _CPACK_IFW_COMPONENTS_ALL cmakexbuild)
endif()