cmake/Tests/RunCMake/FetchContent/DownloadTwice.cmake
2018-04-23 21:13:27 +02:00

10 lines
194 B
CMake

include(FetchContent)
FetchContent_Declare(
t1
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "Download command executed"
)
FetchContent_Populate(t1)
FetchContent_Populate(t1) # Triggers error