# Copyright Eric Niebler 2019
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)

cmake_minimum_required(VERSION 2.8.2)

project(google-test-download NONE)

include(ExternalProject)
ExternalProject_Add(google-test
  GIT_REPOSITORY    https://github.com/google/googletest.git
  GIT_TAG           master
  SOURCE_DIR        "${CMAKE_CURRENT_BINARY_DIR}/google-test-src"
  BINARY_DIR        "${CMAKE_CURRENT_BINARY_DIR}/google-test-build"
  CONFIGURE_COMMAND ""
  BUILD_COMMAND     ""
  INSTALL_COMMAND   ""
  TEST_COMMAND      ""
)
