From 74c5ac730259621ce5e6ed72ee0661516b2dd9b8 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Thu, 13 Sep 2018 21:54:58 +0200 Subject: [PATCH] cpack: change file name of generated sources file This should match the old release ZIPs: "lwip-x.y.z.zip" Signed-off-by: Simon Goldschmidt --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f1eaf08..f05c0f61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR "${LWIP_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${LWIP_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${LWIP_VERSION_REVISION}") set(CPACK_SOURCE_IGNORE_FILES "/build/;${CPACK_SOURCE_IGNORE_FILES};.git") +set(CPACK_SOURCE_PACKAGE_FILE_NAME "lwip-${LWIP_VERSION_MAJOR}.${LWIP_VERSION_MINOR}.${LWIP_VERSION_REVISION}") include(CPack) # Target for package generation