cmake/Tests/RunCMake/FetchContent/DownloadTwice.cmake

10 lines
194 B
CMake
Raw Normal View History

2018-04-23 21:13:27 +02:00
include(FetchContent)
FetchContent_Declare(
t1
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "Download command executed"
)
FetchContent_Populate(t1)
FetchContent_Populate(t1) # Triggers error