summaryrefslogtreecommitdiffstats
path: root/CMakeCPack.cmake
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2015-07-07 06:28:25 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-07 13:20:13 (GMT)
commitd7725a178bd498f7b50634490b6846ab9bb245f2 (patch)
treefa602cd89d1979c4f6912b0b2f6cd0bad2e1afd5 /CMakeCPack.cmake
parentecca26855a786bb126341e7fba59557325e54f7b (diff)
downloadCMake-d7725a178bd498f7b50634490b6846ab9bb245f2.zip
CMake-d7725a178bd498f7b50634490b6846ab9bb245f2.tar.gz
CMake-d7725a178bd498f7b50634490b6846ab9bb245f2.tar.bz2
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 54816ec..ce10ad0 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})