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 /Modules/ExternalProject.cmake | |
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 'Modules/ExternalProject.cmake')
-rw-r--r-- | Modules/ExternalProject.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 5bac0d8..a9448e5 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -2595,7 +2595,7 @@ function(_ep_add_download_command name) set(cmd ${CMAKE_COMMAND} -E rm -rf ${source_dir} COMMAND ${CMAKE_COMMAND} -E copy_directory ${abs_dir} ${source_dir}) else() - get_property(no_extract TARGET "${name}" PROPERTY _EP_DOWNLOAD_NO_EXTRACT SET) + get_property(no_extract TARGET "${name}" PROPERTY _EP_DOWNLOAD_NO_EXTRACT) if("${url}" MATCHES "^[a-z]+://") # TODO: Should download and extraction be different steps? if("x${fname}" STREQUAL "x") |