Skip to content

Commit

Permalink
reverted removal of CPACK_SOURCE_PACKAGE_FILE_NAME
Browse files Browse the repository at this point in the history
The use of `CPACK_PACKAGE_NAME` leads to
`cppformat-<version>-Source.zip` as the name for the source package
which is different from the expected `cppformat-<version>.zip`.
  • Loading branch information
niosHD committed Jan 12, 2016
1 parent b732455 commit 3fc3ecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3fc3ecd

Please sign in to comment.