summaryrefslogtreecommitdiff
path: root/CMakeCPack.cmake
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2015-07-07 09:28:25 +0300
committerBrad King <brad.king@kitware.com>2015-07-07 09:20:13 -0400
commitd7725a178bd498f7b50634490b6846ab9bb245f2 (patch)
treefa602cd89d1979c4f6912b0b2f6cd0bad2e1afd5 /CMakeCPack.cmake
parentecca26855a786bb126341e7fba59557325e54f7b (diff)
downloadcmake-d7725a178bd498f7b50634490b6846ab9bb245f2.tar.gz
CMake: Add cmakexbuild component as REQUIRED to Tools group for 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 54816ecf06..ce10ad0ed8 100644
--- a/CMakeCPack.cmake
+++ b/CMakeCPack.cmake
@@ -68,6 +68,9 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
# Components
if(CMake_INSTALL_COMPONENTS)
set(_CPACK_IFW_COMPONENTS_ALL cmake ctest cpack)
+ if(APPLE)
+ list(APPEND _CPACK_IFW_COMPONENTS_ALL cmakexbuild)
+ endif()
if(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME)
set(_CPACK_IFW_COMPONENT_UNSPECIFIED_NAME
${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME})