diff options
Diffstat (limited to 'Tests/RunCMake/FetchContent/DownloadFile.cmake')
-rw-r--r-- | Tests/RunCMake/FetchContent/DownloadFile.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/FetchContent/DownloadFile.cmake b/Tests/RunCMake/FetchContent/DownloadFile.cmake new file mode 100644 index 0000000..741b6d3 --- /dev/null +++ b/Tests/RunCMake/FetchContent/DownloadFile.cmake @@ -0,0 +1,9 @@ +include(FetchContent) + +FetchContent_Declare( + t1 + URL ${CMAKE_CURRENT_LIST_DIR}/dummyFile.txt + DOWNLOAD_NO_EXTRACT YES +) + +FetchContent_Populate(t1) |