You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
345 B
15 lines
345 B
cmake_policy(SET CMP0168 NEW) # Faster, don't need to test with sub-build
|
|
|
|
include(FetchContent)
|
|
|
|
FetchContent_Populate(t1
|
|
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "Direct download"
|
|
UPDATE_COMMAND ""
|
|
)
|
|
|
|
FetchContent_Declare(t2
|
|
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "Declared download"
|
|
UPDATE_COMMAND ""
|
|
)
|
|
FetchContent_Populate(t2)
|