From 3fc3ecd1840a49abe3708eaa084a30a0f111fd94 Mon Sep 17 00:00:00 2001 From: Mario Werner Date: Tue, 12 Jan 2016 16:43:36 +0100 Subject: [PATCH] reverted removal of `CPACK_SOURCE_PACKAGE_FILE_NAME` The use of `CPACK_PACKAGE_NAME` leads to `cppformat--Source.zip` as the name for the source package which is different from the expected `cppformat-.zip`. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 40ed2e9e..64d095d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,6 +156,7 @@ if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.gitignore") set(CPACK_SOURCE_GENERATOR ZIP) set(CPACK_SOURCE_IGNORE_FILES ${ignored_files}) + set(CPACK_SOURCE_PACKAGE_FILE_NAME "cppformat-${CPPFORMAT_VERSION}") set(CPACK_PACKAGE_NAME "cppformat") set(CPACK_RESOURCE_FILE_README ${FORMAT_SOURCE_DIR}/README.rst) include(CPack)