diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-12-23 20:01:38 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-12-23 20:01:38 (GMT) |
commit | 5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b (patch) | |
tree | 83b15c0d10a828aef18fb9866cf970603aec5b6f /Tests/RunCMake/CPack/tests | |
parent | e8e9034596e15dee3c8febe860c2429df512dc10 (diff) | |
download | CMake-5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b.zip CMake-5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b.tar.gz CMake-5b0a64ebc5d03a4dd0022b87e8e6cb77c3db013b.tar.bz2 |
CPack/Archive minimal tests for more formats
Diffstat (limited to 'Tests/RunCMake/CPack/tests')
-rw-r--r-- | Tests/RunCMake/CPack/tests/MINIMAL/test.cmake | 4 |
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() |