diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-26 19:08:25 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-27 22:20:35 (GMT) |
commit | 6d51bea4e6ff058383e63c215ec5fb7fcab9870c (patch) | |
tree | bb1fc3a76009053694d0bda82bdf672aa7bac56c /Tests/RunCMake/CPack/tests/MINIMAL | |
parent | 0f15aee799a0af9fe1999d5c071483c9660ccf5b (diff) | |
download | CMake-6d51bea4e6ff058383e63c215ec5fb7fcab9870c.zip CMake-6d51bea4e6ff058383e63c215ec5fb7fcab9870c.tar.gz CMake-6d51bea4e6ff058383e63c215ec5fb7fcab9870c.tar.bz2 |
Tests: CPack test merge generator specifics
Merge test generator specifics into
test itself.
Diffstat (limited to 'Tests/RunCMake/CPack/tests/MINIMAL')
-rw-r--r-- | Tests/RunCMake/CPack/tests/MINIMAL/test.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake b/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake index 83ed0f2..2182f46 100644 --- a/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake +++ b/Tests/RunCMake/CPack/tests/MINIMAL/test.cmake @@ -1 +1,6 @@ +if(GENERATOR_TYPE STREQUAL "DEB") + set(CPACK_PACKAGE_CONTACT "someone") + set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT") +endif() + install(FILES CMakeLists.txt DESTINATION foo COMPONENT test) |