summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-04-02 12:49:21 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-04-02 12:55:04 (GMT)
commit2c4bb705e842db66904df5014a5755b57ac51b72 (patch)
treef606947f094133441991f75950331bcc3782c978 /Tests
parente3185e3d1b92a95c18f22f70b3cef6944dd019eb (diff)
downloadCMake-2c4bb705e842db66904df5014a5755b57ac51b72.zip
CMake-2c4bb705e842db66904df5014a5755b57ac51b72.tar.gz
CMake-2c4bb705e842db66904df5014a5755b57ac51b72.tar.bz2
ExternalProject: allow `DOWNLOAD_NO_EXTRACT OFF`
Fixes: #20531
Diffstat (limited to 'Tests')
-rw-r--r--Tests/ExternalProject/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt
index 450e7e5..c8850ea 100644
--- a/Tests/ExternalProject/CMakeLists.txt
+++ b/Tests/ExternalProject/CMakeLists.txt
@@ -100,6 +100,15 @@ ExternalProject_Add(${proj}
INSTALL_COMMAND ""
)
+set(proj NoExtractBool)
+ExternalProject_Add(${proj}
+ URL ${CMAKE_CURRENT_SOURCE_DIR}/gitrepo.tgz
+ DOWNLOAD_NO_EXTRACT 0
+ LOG_DOWNLOAD 1
+ BUILD_COMMAND ""
+ CONFIGURE_COMMAND ""
+ INSTALL_COMMAND ""
+)
# CVS-based tests:
#