diff options
author | Andrew Fuller <afuller@teradici.com> | 2020-01-14 23:27:22 (GMT) |
---|---|---|
committer | Andrew Fuller <afuller@teradici.com> | 2020-01-16 16:04:35 (GMT) |
commit | 6d6f4b93164313ae8f6dfbaabc579c48732c2769 (patch) | |
tree | 50f47873eedf6dbe11a0acc335b0277a3b303995 /Tests/RunCMake/CPack/tests | |
parent | b53230fbeeacd367f392ae5a19bde98fa67986e8 (diff) | |
download | CMake-6d6f4b93164313ae8f6dfbaabc579c48732c2769.zip CMake-6d6f4b93164313ae8f6dfbaabc579c48732c2769.tar.gz CMake-6d6f4b93164313ae8f6dfbaabc579c48732c2769.tar.bz2 |
CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME
Diffstat (limited to 'Tests/RunCMake/CPack/tests')
-rw-r--r-- | Tests/RunCMake/CPack/tests/CUSTOM_NAMES/ExpectedFiles.cmake | 3 | ||||
-rw-r--r-- | Tests/RunCMake/CPack/tests/CUSTOM_NAMES/test.cmake | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/ExpectedFiles.cmake b/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/ExpectedFiles.cmake index 07226df..9ac19e2 100644 --- a/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/ExpectedFiles.cmake +++ b/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/ExpectedFiles.cmake @@ -12,4 +12,7 @@ if(GENERATOR_TYPE STREQUAL "DEB" OR GENERATOR_TYPE STREQUAL "RPM") elseif(GENERATOR_TYPE STREQUAL "TGZ") set(EXPECTED_FILE_2 "second.tar.gz") set(EXPECTED_FILE_3 "pkg_3_abc.tar.gz") +elseif(GENERATOR_TYPE STREQUAL "DragNDrop") + set(EXPECTED_FILE_2 "second.dmg") + set(EXPECTED_FILE_3 "pkg_3_abc.dmg") endif() diff --git a/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/test.cmake b/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/test.cmake index 4c20e41..899258e 100644 --- a/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/test.cmake +++ b/Tests/RunCMake/CPack/tests/CUSTOM_NAMES/test.cmake @@ -10,6 +10,9 @@ if(GENERATOR_TYPE STREQUAL "DEB" OR GENERATOR_TYPE STREQUAL "RPM") elseif(GENERATOR_TYPE STREQUAL "TGZ") set(CPACK_ARCHIVE_PKG_2_FILE_NAME "second") set(CPACK_ARCHIVE_PKG_3_FILE_NAME "pkg_3_abc") +elseif(GENERATOR_TYPE STREQUAL "DragNDrop") + set(CPACK_DMG_PKG_2_FILE_NAME "second") + set(CPACK_DMG_PKG_3_FILE_NAME "pkg_3_abc") endif() install(FILES CMakeLists.txt DESTINATION foo COMPONENT pkg_1) |