ExternalProject: Fix Git version report in error message (#15791)
Refactoring in commit v3.4.0-rc1~77^2~1 (ExternalProject: Use GIT_VERSION_STRING instead of custom method, 2015-09-17) forgot to update the variable name used in an error message.
This commit is contained in:
parent
679a5d2185
commit
4cd52dc551
|
@ -1739,7 +1739,7 @@ function(_ep_add_download_command name)
|
|||
# The git submodule update '--recursive' flag requires git >= v1.6.5
|
||||
#
|
||||
if(GIT_VERSION_STRING VERSION_LESS 1.6.5)
|
||||
message(FATAL_ERROR "error: git version 1.6.5 or later required for 'git submodule update --recursive': git_version='${git_version}'")
|
||||
message(FATAL_ERROR "error: git version 1.6.5 or later required for 'git submodule update --recursive': GIT_VERSION_STRING='${GIT_VERSION_STRING}'")
|
||||
endif()
|
||||
|
||||
get_property(git_tag TARGET ${name} PROPERTY _EP_GIT_TAG)
|
||||
|
|
Loading…
Reference in New Issue