forked from bartvdbraak/blender
Remove nested check for .git folder exists in buildinfo.cmake
Title says it all :) Pointer by IRIE Shinsuke in the ML, thanks!
This commit is contained in:
parent
7a899ce9fc
commit
3e87abb4be
@ -8,7 +8,6 @@ set(MY_WC_BRANCH "")
|
||||
set(MY_WC_COMMIT_TIMESTAMP 0)
|
||||
|
||||
# Guess if this is a SVN working copy and then look up the revision
|
||||
if(EXISTS ${SOURCE_DIR}/.git/)
|
||||
if(EXISTS ${SOURCE_DIR}/.git/)
|
||||
# The FindSubversion.cmake module is part of the standard distribution
|
||||
include(FindGit)
|
||||
@ -52,7 +51,6 @@ if(EXISTS ${SOURCE_DIR}/.git/)
|
||||
unset(_git_latest_version_tag)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# BUILD_PLATFORM and BUILD_PLATFORM are taken from CMake
|
||||
# but BUILD_DATE and BUILD_TIME are plataform dependant
|
||||
|
Loading…
Reference in New Issue
Block a user