From 35cd93b3e940d74bd4eb01e0a8034cb8590d90fb Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Sat, 3 Oct 2020 18:08:54 +0200 Subject: [HICN-643] Fix check for release version. Signed-off-by: Mauro Sardara Change-Id: I4344315b771d35943cc78d3d358c2aebc0f72662 --- cmake/Modules/Packager.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake index 5bffa1ebc..94b0e96a7 100644 --- a/cmake/Modules/Packager.cmake +++ b/cmake/Modules/Packager.cmake @@ -97,7 +97,7 @@ macro(make_packages) message(STATUS "Build number is: ${bld}") #define DEB and RPM version numbers - if(${RELEASE} AND ${RELEASE} STREQUAL "-release") + if("${RELEASE}" STREQUAL "-release") set(deb_ver "${tag}-release") set(rpm_ver "${tag}-release") else() -- cgit 1.2.3-korg