1# Copyright (c) Facebook, Inc. and its affiliates. 2# 3# This source code is licensed under the MIT license found in the LICENSE file 4# in the root directory of this source tree. 5 6cmake_minimum_required(VERSION 2.8.2) 7 8project(googletest-download NONE) 9 10include(ExternalProject) 11ExternalProject_Add(googletest 12 GIT_REPOSITORY https://github.com/google/googletest.git 13 GIT_TAG main 14 SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src" 15 BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build" 16 CONFIGURE_COMMAND "" 17 BUILD_COMMAND "" 18 INSTALL_COMMAND "" 19 TEST_COMMAND "" 20) 21