diff options
author | Brad King <brad.king@kitware.com> | 2020-04-03 10:58:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-03 10:58:22 (GMT) |
commit | e141c9dc151d3487b072b3608e32de2e1a846386 (patch) | |
tree | 552d7ccfd7c19eaf2126cd9d94ff1570abd1c111 /Modules/ExternalProject.cmake | |
parent | 9e0c2792c242b198e76ad86d03978852b1302226 (diff) | |
parent | 2c4bb705e842db66904df5014a5755b57ac51b72 (diff) | |
download | CMake-e141c9dc151d3487b072b3608e32de2e1a846386.zip CMake-e141c9dc151d3487b072b3608e32de2e1a846386.tar.gz CMake-e141c9dc151d3487b072b3608e32de2e1a846386.tar.bz2 |
Merge topic 'ExternalProject-no-extract-bool'
2c4bb705e8 ExternalProject: allow `DOWNLOAD_NO_EXTRACT OFF`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4562
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 326ee06..a7f0411 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -2598,7 +2598,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") |