diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2017-02-27 16:30:13 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2017-02-27 16:33:31 (GMT) |
commit | 99d6de6c1a5871ba03fa008c984cd5408940c3cd (patch) | |
tree | 0159a0fb2ba602079d9317d5b00a9cb0a999412e /Tests | |
parent | cdb6d7df970fcaaf6cda1bef9955351222e1bcde (diff) | |
download | CMake-99d6de6c1a5871ba03fa008c984cd5408940c3cd.zip CMake-99d6de6c1a5871ba03fa008c984cd5408940c3cd.tar.gz CMake-99d6de6c1a5871ba03fa008c984cd5408940c3cd.tar.bz2 |
ExternalProject: only append `COMMAND` if actually adding a command
Fixes #16544.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/ExternalProject/CMakeLists.txt | 10 |
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: # |