aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/Modules/Packager.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake
index f5b7a8ca2..c04e5c0b0 100755
--- a/cmake/Modules/Packager.cmake
+++ b/cmake/Modules/Packager.cmake
@@ -51,7 +51,7 @@ macro(make_packages)
list(GET VER 1 commit_num)
list(GET VER 2 commit_name)
- if ($ENV{BUILD_NUMBER} STREQUAL "")
+ if (NOT DEFINED ENV{BUILD_NUMBER})
set(bld "b1")
else()
set(bld "b$ENV{BUILD_NUMBER}")