summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2015-07-03 09:58:22 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-07 13:16:40 (GMT)
commitc823f04e0cbc4753cc5b6d5c9f45b9f015a12568 (patch)
tree4edbd2e75f2c40e2884930e203dffa170864dcb6 /Source/CursesDialog
parent7383e4d722809e2460bd4e87ea7fdbef5f64c303 (diff)
downloadCMake-c823f04e0cbc4753cc5b6d5c9f45b9f015a12568.zip
CMake-c823f04e0cbc4753cc5b6d5c9f45b9f015a12568.tar.gz
CMake-c823f04e0cbc4753cc5b6d5c9f45b9f015a12568.tar.bz2
CMake: New option CMake_INSTALL_COMPONENTS
By default is OFF. Now it's used with CPack IFW himself installer.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CursesDialog/CMakeLists.txt b/Source/CursesDialog/CMakeLists.txt
index 14eb46c..93ff425 100644
--- a/Source/CursesDialog/CMakeLists.txt
+++ b/Source/CursesDialog/CMakeLists.txt
@@ -47,4 +47,5 @@ else()
target_link_libraries(ccmake cmForm)
endif()
-install(TARGETS ccmake DESTINATION bin COMPONENT ccmake)
+CMake_OPTIONAL_COMPONENT(ccmake)
+install(TARGETS ccmake DESTINATION bin ${COMPONENT})