diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-02 12:49:21 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-02 12:55:04 (GMT) |
commit | 2c4bb705e842db66904df5014a5755b57ac51b72 (patch) | |
tree | f606947f094133441991f75950331bcc3782c978 /Tests | |
parent | e3185e3d1b92a95c18f22f70b3cef6944dd019eb (diff) | |
download | CMake-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.txt | 9 |
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: # |