Loading cmake/BuildGtest.cmake +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,10 @@ endif() # settings on Windows set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) # Prevent installing GTest along with TNL (the tests themselves are not installed) set(INSTALL_GTEST OFF CACHE BOOL "" FORCE) set(INSTALL_GMOCK OFF CACHE BOOL "" FORCE) # Add googletest directly to our build. This defines # the gtest and gtest_main targets. add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src Loading cmake/Gtest.cmake.in +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ include(ExternalProject) ExternalProject_Add(googletest GIT_REPOSITORY https://github.com/google/googletest.git #GIT_TAG master # build from a stable branch instead of master (which gets broken pretty often) GIT_TAG v1.10.x # build from a stable tag instead of master branch (which gets broken pretty often) GIT_TAG release-1.11.0 SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src" BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build" CONFIGURE_COMMAND "" Loading Loading
cmake/BuildGtest.cmake +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,10 @@ endif() # settings on Windows set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) # Prevent installing GTest along with TNL (the tests themselves are not installed) set(INSTALL_GTEST OFF CACHE BOOL "" FORCE) set(INSTALL_GMOCK OFF CACHE BOOL "" FORCE) # Add googletest directly to our build. This defines # the gtest and gtest_main targets. add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src Loading
cmake/Gtest.cmake.in +2 −2 Original line number Diff line number Diff line Loading @@ -13,8 +13,8 @@ include(ExternalProject) ExternalProject_Add(googletest GIT_REPOSITORY https://github.com/google/googletest.git #GIT_TAG master # build from a stable branch instead of master (which gets broken pretty often) GIT_TAG v1.10.x # build from a stable tag instead of master branch (which gets broken pretty often) GIT_TAG release-1.11.0 SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src" BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build" CONFIGURE_COMMAND "" Loading