mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 20:32:49 +00:00
reverted removal of CPACK_SOURCE_PACKAGE_FILE_NAME
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`.
This commit is contained in:
parent
b732455fd3
commit
3fc3ecd184
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user