forked from bartvdbraak/blender
CMake: Warn when buildinfo is disabled due to missing Git
This commit is contained in:
parent
cc2138888a
commit
086de5b5e3
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user