diff options
Diffstat (limited to 'cmake/Modules/Packager.cmake')
-rwxr-xr-x | cmake/Modules/Packager.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake index 9a64488e4..b6a954224 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}") |