diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a3277554c1d6867e89d147b427f90c1dc565c02..79f31520e315076aa50363a1b695d6094eb46940 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,6 +73,9 @@ if(UNIX) SET( CPACK_SYSTEM_ARCH "amd64") SET( CPACK_SYSTEM_CODENAME "${DEBIAN_OS_NAME}") SET( CPACK_SYSTEM_NAME "${CPACK_SYSTEM_TYPE}-${CPACK_SYSTEM_VERSION}-${CPACK_SYSTEM_ARCH}-${CPACK_SYSTEM_CODENAME}") + if(CMAKE_BUILD_TYPE MATCHES Debug) + SET( CPACK_SYSTEM_NAME "${CPACK_SYSTEM_NAME}-dbg" ) + endif() SET( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_PACKAGE_VERSION_PATCH}") SET( CPACK_DEBIAN_PACKAGE_MAINTAINER "Dmitriy Gerasimov <naeper@demlabs.net>" ) SET( CPACK_DEBIAN_PACKAGE_DESCRIPTION_SUMMARY "CellFrame Node software https://cellframe.net" ) diff --git a/prod_build b/prod_build index 41ca66d2e7b4d1b0c31d42557e2d07dffbca953d..c9ae3214bea53992bbc93acb660f5ca5f8dc85a7 160000 --- a/prod_build +++ b/prod_build @@ -1 +1 @@ -Subproject commit 41ca66d2e7b4d1b0c31d42557e2d07dffbca953d +Subproject commit c9ae3214bea53992bbc93acb660f5ca5f8dc85a7