# Copyright (c) 2018-present, Facebook, Inc. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. cmake_minimum_required(VERSION 2.8.2) project(googletest-download NONE) include(ExternalProject) ExternalProject_Add(googletest GIT_REPOSITORY https://github.com/google/googletest.git # This is a commit after release-1.10.0 for which # gmock understands noexcept function qualifiers # and for which usage of std::result_of has been # discontinued. GIT_TAG aa9b44a18678dfdf57089a5ac22c1edb69f35da5 SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src" BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" TEST_COMMAND "" )