Verify gtest with URL_MD5

This commit is contained in:
Matt Clarkson 2014-08-08 13:46:04 +01:00
parent ed08661efe
commit 6a66991586

View File

@ -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 "")