aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/Packager.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/Packager.cmake')
-rw-r--r--cmake/Modules/Packager.cmake2
1 files changed, 1 insertions, 1 deletions
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()