Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-03-11 12:49:23 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-03-11 12:49:23 +0300
commit086de5b5e30cde598a133419e1e8952980c9a4e7 (patch)
tree8d8fa1574f5b4a4dc9b67d3bd739433de6fd2fb6 /CMakeLists.txt
parentcc2138888a0219874ca5e25128b7edd54fa296ff (diff)
CMake: Warn when buildinfo is disabled due to missing Git
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b24945d7ebd..fb813734bc5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -707,6 +707,7 @@ endif()
if(WITH_BUILDINFO)
find_package(Git)
if(NOT GIT_FOUND)
+ message(WARNING "Git was not found, disabling WITH_BUILDINFO")
set(WITH_BUILDINFO OFF)
endif()
endif()