cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
if(POLICY CMP0097)
  cmake_policy(SET CMP0097 NEW)
endif()
project(DownloadBuildInstall NONE)
include(ExternalProject)
ExternalProject_Add(@DBI_NAME@
  PREFIX "@DBI_DESTINATION@/repo"
  GIT_REPOSITORY "@DBI_GIT_REPOSITORY@"
  GIT_TAG "@DBI_GIT_TAG@"
  TEST_COMMAND ""
  CMAKE_ARGS @DBI_CMAKE_ARGS@ "-DCMAKE_INSTALL_PREFIX=@DBI_INSTALL_PREFIX@"
  @DBI_EXTERNALPROJECT_ARGS@
)
