summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/LONG_FILENAMES/test.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-11-26 19:08:25 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-11-27 22:20:35 (GMT)
commit6d51bea4e6ff058383e63c215ec5fb7fcab9870c (patch)
treebb1fc3a76009053694d0bda82bdf672aa7bac56c /Tests/RunCMake/CPack/tests/LONG_FILENAMES/test.cmake
parent0f15aee799a0af9fe1999d5c071483c9660ccf5b (diff)
downloadCMake-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/LONG_FILENAMES/test.cmake')
-rw-r--r--Tests/RunCMake/CPack/tests/LONG_FILENAMES/test.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/LONG_FILENAMES/test.cmake b/Tests/RunCMake/CPack/tests/LONG_FILENAMES/test.cmake
index 3370a50..f6656c6 100644
--- a/Tests/RunCMake/CPack/tests/LONG_FILENAMES/test.cmake
+++ b/Tests/RunCMake/CPack/tests/LONG_FILENAMES/test.cmake
@@ -1,3 +1,9 @@
+if(GENERATOR_TYPE STREQUAL "DEB")
+ set(CPACK_PACKAGE_CONTACT "someone")
+ set(CPACK_DEBIAN_FILE_NAME "DEB-DEFAULT")
+ set(CPACK_DEBIAN_ARCHIVE_TYPE "gnutar")
+endif()
+
set(LONG_FILENAME
"${CMAKE_CURRENT_BINARY_DIR}/llllllllll_oooooooooo_nnnnnnnnnn_gggggggggg_ffffffffff_iiiiiiiiii_llllllllll_eeeeeeeeee_nnnnnnnnnn_aaaaaaaaaa_mmmmmmmmmm_eeeeeeeeee.txt")