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.8.0.zip 8 URL_HASH SHA256=f3ed3b58511efd272eb074a3a6d6fb79d7c2e6a0e374323d1e6bcbcc1ef141bf 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