[Bf-blender-cvs] [086de5b] master: CMake: Warn when buildinfo is disabled due to missing Git

Sergey Sharybin noreply at git.blender.org
Fri Mar 11 10:50:07 CET 2016


Commit: 086de5b5e30cde598a133419e1e8952980c9a4e7
Author: Sergey Sharybin
Date:   Fri Mar 11 14:49:23 2016 +0500
Branches: master
https://developer.blender.org/rB086de5b5e30cde598a133419e1e8952980c9a4e7

CMake: Warn when buildinfo is disabled due to missing Git

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b24945d..fb81373 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()




More information about the Bf-blender-cvs mailing list