FirstDetailsWin.cmake 342 B

123456789101112131415161718
  1. cmake_policy(SET CMP0169 OLD)
  2. include(FetchContent)
  3. # Need to see the download command output
  4. set(FETCHCONTENT_QUIET OFF)
  5. FetchContent_Declare(
  6. t1
  7. DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "First details used"
  8. )
  9. FetchContent_Declare(
  10. t1
  11. DOWNLOAD_COMMAND ${CMAKE_COMMAND} -E echo "Second details used"
  12. )
  13. FetchContent_Populate(t1)