mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Tests: Reduce warning noise in ExternalProjectUpdate test
This commit is contained in:
@@ -70,7 +70,9 @@ if(NOT TEST_GIT_TAG)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(do_git_tests)
|
if(do_git_tests)
|
||||||
set(local_git_repo "../../LocalRepositories/GIT")
|
cmake_path(SET local_git_repo NORMALIZE
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/LocalRepositories/GIT"
|
||||||
|
)
|
||||||
|
|
||||||
# Unzip/untar the git repository in our source folder so that other
|
# Unzip/untar the git repository in our source folder so that other
|
||||||
# projects below may use it to test git args of ExternalProject_Add
|
# projects below may use it to test git args of ExternalProject_Add
|
||||||
@@ -79,6 +81,7 @@ if(do_git_tests)
|
|||||||
ExternalProject_Add(${proj}
|
ExternalProject_Add(${proj}
|
||||||
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/LocalRepositories/GIT
|
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/LocalRepositories/GIT
|
||||||
URL ${CMAKE_CURRENT_SOURCE_DIR}/gitrepo.tgz
|
URL ${CMAKE_CURRENT_SOURCE_DIR}/gitrepo.tgz
|
||||||
|
DOWNLOAD_EXTRACT_TIMESTAMP NO
|
||||||
BUILD_COMMAND ""
|
BUILD_COMMAND ""
|
||||||
CONFIGURE_COMMAND "${GIT_EXECUTABLE}" --version
|
CONFIGURE_COMMAND "${GIT_EXECUTABLE}" --version
|
||||||
INSTALL_COMMAND ""
|
INSTALL_COMMAND ""
|
||||||
|
|||||||
Reference in New Issue
Block a user