1CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12 FATAL_ERROR) 2 3PROJECT(googletest-download NONE) 4 5INCLUDE(ExternalProject) 6ExternalProject_Add(googletest 7 URL https://github.com/google/googletest/archive/release-1.10.0.zip 8 URL_HASH SHA256=94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91 9 SOURCE_DIR "${CONFU_DEPENDENCIES_SOURCE_DIR}/googletest" 10 BINARY_DIR "${CONFU_DEPENDENCIES_BINARY_DIR}/googletest" 11 CONFIGURE_COMMAND "" 12 BUILD_COMMAND "" 13 INSTALL_COMMAND "" 14 TEST_COMMAND "" 15) 16