From 6a66991586bad15e36476dac4cf1fa10c890f074 Mon Sep 17 00:00:00 2001 From: Matt Clarkson Date: Fri, 8 Aug 2014 13:46:04 +0100 Subject: [PATCH] Verify gtest with URL_MD5 --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39e279e0..c4fa73aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,8 +12,7 @@ include(ExternalProject) set_directory_properties(properties EP_PREFIX "${CMAKE_BINARY_DIR}/third_party") ExternalProject_Add(googletest URL "https://googletest.googlecode.com/files/gtest-1.7.0.zip" - # TODO: add this when we have cmake 2.9 - # URL_HASH MD5=2d6ec8ccdf5c46b05ba54a9fd1d130d7 + URL_MD5 2d6ec8ccdf5c46b05ba54a9fd1d130d7 SOURCE_DIR "${CMAKE_BINARY_DIR}/third_party/gtest" CMAKE_ARGS "-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}" INSTALL_COMMAND "")