diff --git a/cmake/modules/Version.cmake b/cmake/modules/Version.cmake
index 2d4e76d..6acffe2 100644
--- a/cmake/modules/Version.cmake
+++ b/cmake/modules/Version.cmake
@@ -39,7 +39,9 @@ if(GIT_FOUND)
         OUTPUT_VARIABLE GIT_DESCRIBE OUTPUT_STRIP_TRAILING_WHITESPACE
         WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
     )
-else()
+endif()
+
+if ("${GIT_DESCRIBE}" STREQUAL "")
     set(GIT_DESCRIBE "v${MAJOR_VERSION}.${MINOR_VERSION}.x-xxx-xunknown")
 endif()
 
