mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
14 lines
294 B
CMake
14 lines
294 B
CMake
include(FetchContent)
|
|
|
|
# The file hash depends on the line endings used by git
|
|
file(MD5 ${CMAKE_CURRENT_LIST_DIR}/dummyFile.txt md5_hash)
|
|
|
|
FetchContent_Declare(
|
|
t1
|
|
URL ${CMAKE_CURRENT_LIST_DIR}/dummyFile.txt
|
|
URL_HASH MD5=${md5_hash}
|
|
DOWNLOAD_NO_EXTRACT YES
|
|
)
|
|
|
|
FetchContent_Populate(t1)
|