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:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f149cfbcdc4..b24945d7ebd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -704,6 +704,13 @@ else()
set(COMPILER_SSE2_FLAG)
endif()
+if(WITH_BUILDINFO)
+ find_package(Git)
+ if(NOT GIT_FOUND)
+ set(WITH_BUILDINFO OFF)
+ endif()
+endif()
+
TEST_SHARED_PTR_SUPPORT()
TEST_UNORDERED_MAP_SUPPORT()