cmake/Tests/RunCMake/FetchContent/FirstDetailsWin.cmake

17 lines
311 B
CMake
Raw Normal View History

2018-04-23 21:13:27 +02:00
include(FetchContent)
# Need to see the download command output
set(FETCHCONTENT_QUIET OFF)
FetchContent_Declare(
t1
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "First details used"
)
FetchContent_Declare(
t1
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "Second details used"
)
FetchContent_Populate(t1)