Tests: Reduce warning noise in ExternalProjectUpdate test
diff --git a/Tests/ExternalProjectUpdate/CMakeLists.txt b/Tests/ExternalProjectUpdate/CMakeLists.txt
index 1b84ff3..e8c67b8 100644
--- a/Tests/ExternalProjectUpdate/CMakeLists.txt
+++ b/Tests/ExternalProjectUpdate/CMakeLists.txt
@@ -70,7 +70,9 @@
endif()
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
# projects below may use it to test git args of ExternalProject_Add
@@ -79,6 +81,7 @@
ExternalProject_Add(${proj}
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/LocalRepositories/GIT
URL ${CMAKE_CURRENT_SOURCE_DIR}/gitrepo.tgz
+ DOWNLOAD_EXTRACT_TIMESTAMP NO
BUILD_COMMAND ""
CONFIGURE_COMMAND "${GIT_EXECUTABLE}" --version
INSTALL_COMMAND ""