diff options
Diffstat (limited to 'cmake/Modules/Packager.cmake')
-rw-r--r-- | cmake/Modules/Packager.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake index b4849963d..27a269b88 100644 --- a/cmake/Modules/Packager.cmake +++ b/cmake/Modules/Packager.cmake @@ -84,11 +84,11 @@ macro(make_packages) set(rpm_ver "${tag}-${commit_num}-release") endif() - get_next_version(${tag}, next_version) + get_next_version(${tag} next_version) get_cmake_property(components COMPONENTS) - if(OS_ID_LIKE MATCHES "debian") + if(OS_ID MATCHES "debian" OR OS_ID_LIKE MATCHES "debian") set(CPACK_GENERATOR "DEB") set(type "DEBIAN") |