diff options
author | Craig Scott <craig.scott@crascit.com> | 2020-05-25 21:20:37 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-05-25 21:20:48 (GMT) |
commit | 800e29ab8fef4382feef0d0a4552eb3d0bfdcd50 (patch) | |
tree | 67c20874b1aad448665511fe06137fdbe89a251f /Tests/RunCMake/FetchContent/PreserveEmptyArgs.cmake | |
parent | 98b2dc68abcc922c0624d7f39d856380be081b81 (diff) | |
parent | 8dca6bd04b29c418c809ffc7872bb77e44ac3796 (diff) | |
download | CMake-800e29ab8fef4382feef0d0a4552eb3d0bfdcd50.zip CMake-800e29ab8fef4382feef0d0a4552eb3d0bfdcd50.tar.gz CMake-800e29ab8fef4382feef0d0a4552eb3d0bfdcd50.tar.bz2 |
Merge topic 'fetchcontent-externalproject-empty-args'
8dca6bd04b FetchContent: Preserve empty string arguments
cbf2daeed0 ExternalProject: Preserve empty string arguments
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4729
Diffstat (limited to 'Tests/RunCMake/FetchContent/PreserveEmptyArgs.cmake')
-rw-r--r-- | Tests/RunCMake/FetchContent/PreserveEmptyArgs.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/FetchContent/PreserveEmptyArgs.cmake b/Tests/RunCMake/FetchContent/PreserveEmptyArgs.cmake new file mode 100644 index 0000000..4f35448 --- /dev/null +++ b/Tests/RunCMake/FetchContent/PreserveEmptyArgs.cmake @@ -0,0 +1,13 @@ +include(FetchContent) + +# Need to see the download command output +set(FETCHCONTENT_QUIET OFF) + +FetchContent_Declare( + t1 + DOWNLOAD_COMMAND ${CMAKE_COMMAND} -P + ${CMAKE_CURRENT_LIST_DIR}/countArgs.cmake + before "" after +) + +FetchContent_Populate(t1) |