Fix Hudson (Jenkins!) BUILD_ID check.
This commit is contained in:
parent
c831d9c857
commit
e563e07d5a
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ if(NOT CMAKE_BUILD_TYPE)
|
|||
FORCE)
|
||||
endif(NOT CMAKE_BUILD_TYPE)
|
||||
|
||||
if($ENV{BUILD_ID})
|
||||
if(NOT "$ENV{BUILD_ID}" STREQUAL "")
|
||||
set(HUDSON_BUILD_ID $ENV{BUILD_ID})
|
||||
set(HUDSON_BUILD_NUMBER $ENV{BUILD_NUMBER})
|
||||
message(STATUS "running under Hudson, build-number is ${HUDSON_BUILD_NUMBER}")
|
||||
|
|
Loading…
Add table
Reference in a new issue