summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/MINIMAL
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-10 14:34:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-01-10 14:34:55 (GMT)
commitc43cf158d74460440dc5a3d0aec984c754f57958 (patch)
tree9d5b34bd3690500f2673eba10cf2525ed9e47e27 /Tests/RunCMake/CPack/tests/MINIMAL
parent2c8eb2696a8f3505d45ed5accfa94b3e5541e169 (diff)
parent36bc7e4c3f91c560df8051afedddea3f49474264 (diff)
downloadCMake-c43cf158d74460440dc5a3d0aec984c754f57958.zip
CMake-c43cf158d74460440dc5a3d0aec984c754f57958.tar.gz
CMake-c43cf158d74460440dc5a3d0aec984c754f57958.tar.bz2
Merge topic 'cpack-new-tests'
36bc7e4c store old locale to a temporary variable 05c14ea0 RunCMake.CPack_* add COMPONENT to minimal test 5b0a64eb CPack/Archive minimal tests for more formats
Diffstat (limited to 'Tests/RunCMake/CPack/tests/MINIMAL')
-rw-r--r--Tests/RunCMake/CPack/tests/MINIMAL/test.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake b/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake
index 83ed0f2..15c5892 100644
--- a/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake
+++ b/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake
@@ -1 +1,5 @@
install(FILES CMakeLists.txt DESTINATION foo COMPONENT test)
+
+if(PACKAGING_TYPE STREQUAL "COMPONENT")
+ set(CPACK_COMPONENTS_ALL test)
+endif()