|
@@ -1731,6 +1731,7 @@ function(_ep_add_download_command name)
|
|
|
--non-interactive ${svn_trust_cert_args} ${svn_user_pw_args} ${src_name})
|
|
--non-interactive ${svn_trust_cert_args} ${svn_user_pw_args} ${src_name})
|
|
|
list(APPEND depends ${stamp_dir}/${name}-svninfo.txt)
|
|
list(APPEND depends ${stamp_dir}/${name}-svninfo.txt)
|
|
|
elseif(git_repository)
|
|
elseif(git_repository)
|
|
|
|
|
+ unset(CMAKE_MODULE_PATH) # Use CMake builtin find module
|
|
|
find_package(Git QUIET)
|
|
find_package(Git QUIET)
|
|
|
if(NOT GIT_EXECUTABLE)
|
|
if(NOT GIT_EXECUTABLE)
|
|
|
message(FATAL_ERROR "error: could not find git for clone of ${name}")
|
|
message(FATAL_ERROR "error: could not find git for clone of ${name}")
|