summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProject/CMakeLists.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2017-02-27 16:30:13 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2017-07-12 15:33:07 (GMT)
commit627422d9de2de41c90d4168b5ff97a074e7232ae (patch)
treed06a4d0a6d7dbf8676362f0c5df085595a7415fd /Tests/ExternalProject/CMakeLists.txt
parent0d5a2252ef8a586f4fc70a66aabd17fb3fd52110 (diff)
downloadCMake-627422d9de2de41c90d4168b5ff97a074e7232ae.zip
CMake-627422d9de2de41c90d4168b5ff97a074e7232ae.tar.gz
CMake-627422d9de2de41c90d4168b5ff97a074e7232ae.tar.bz2
ExternalProject: only append `COMMAND` if actually adding a command
Fixes #17046. (cherry picked from commit 99d6de6c1a5871ba03fa008c984cd5408940c3cd)
Diffstat (limited to 'Tests/ExternalProject/CMakeLists.txt')
-rw-r--r--Tests/ExternalProject/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt
index 72c20eb..6b73563 100644
--- a/Tests/ExternalProject/CMakeLists.txt
+++ b/Tests/ExternalProject/CMakeLists.txt
@@ -90,6 +90,16 @@ ExternalProject_Add(${proj}
)
set_property(TARGET ${proj} PROPERTY FOLDER "")
+set(proj NoExtractLogDownload)
+ExternalProject_Add(${proj}
+ URL ${CMAKE_CURRENT_SOURCE_DIR}/gitrepo.tgz
+ DOWNLOAD_NO_EXTRACT 1
+ LOG_DOWNLOAD 1
+ BUILD_COMMAND ""
+ CONFIGURE_COMMAND ""
+ INSTALL_COMMAND ""
+)
+
# CVS-based tests:
#