CMakeLists.cmake.in 985 B

1234567891011121314151617181920212223242526
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file Copyright.txt or https://cmake.org/licensing for details.
  3. cmake_minimum_required(VERSION ${CMAKE_VERSION})
  4. cmake_policy(SET CMP0114 NEW)
  5. # We name the project and the target for the ExternalProject_Add() call
  6. # to something that will highlight to the user what we are working on if
  7. # something goes wrong and an error message is produced.
  8. project(${contentName}-populate NONE)
  9. include(ExternalProject)
  10. ExternalProject_Add(${contentName}-populate
  11. ${ARG_EXTRA}
  12. SOURCE_DIR "${ARG_SOURCE_DIR}"
  13. BINARY_DIR "${ARG_BINARY_DIR}"
  14. CONFIGURE_COMMAND ""
  15. BUILD_COMMAND ""
  16. INSTALL_COMMAND ""
  17. TEST_COMMAND ""
  18. USES_TERMINAL_DOWNLOAD YES
  19. USES_TERMINAL_UPDATE YES
  20. )
  21. @__FETCHCONTENT_COPY_FILE@