1 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2 index d7fdda02e3...2738cab631 100644
3 --- a/src/CMakeLists.txt
4 +++ b/src/CMakeLists.txt
6 OUTPUT_VARIABLE GIT_COMMIT_HASH
7 OUTPUT_STRIP_TRAILING_WHITESPACE
9 -ELSE(EXISTS "${BASE_PROJ_DIR}/.git")
10 - set(GIT_BRANCH "Unknown")
11 - set(GIT_COMMIT_HASH "Unknown")
12 ENDIF(EXISTS "${BASE_PROJ_DIR}/.git")