cmake_minimum_required(VERSION 2.8)

project(libgtest-download NONE)

include(ExternalProject)

ExternalProject_Add(libgtest-download
    GIT_REPOSITORY    https://github.com/google/googletest.git
    GIT_TAG           release-1.8.0
    PREFIX            ${CMAKE_CURRENT_BINARY_DIR}/build
    CMAKE_ARGS
        -DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX}
        -DBUILD_GMOCK=0
        -DBUILD_GTEST=1
        BUILD_ALWAYS      TRUE
    TEST_COMMAND      ""
)
cmake_minimum_required(VERSION 2.8)

project(libgtest-download NONE)

include(ExternalProject)

ExternalProject_Add(libgtest-download
    GIT_REPOSITORY    https://github.com/google/googletest.git
    GIT_TAG           release-1.8.1
    PREFIX            ${CMAKE_CURRENT_BINARY_DIR}/build
    CMAKE_ARGS
        -DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX}
        -DBUILD_GMOCK=0
        -DBUILD_GTEST=1
    BUILD_ALWAYS      TRUE
    TEST_COMMAND      ""
)

Update gtest 1.8.0 -> 1.8.1
Update gtest 1.8.0 -> 1.8.1

1.8.0 doesn't build on Windows, upstream cut a new release with support
