cmake/Tests/RunCMake/FetchContent/DirectIgnoresDetails.cmake

13 lines
270 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 "Saved details used"
)
# No QUIET option given, so command output will be shown
FetchContent_Populate(
t1
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "Local details used"
)