Skip to content

Commit 72be584

Browse files
committed
update googletest to v1.8.1
1 parent f5dd7db commit 72be584

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

UNITTESTS/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src
5252
# dependencies automatically when using CMake 2.8.11 or
5353
# later.
5454
target_include_directories(gmock_main SYSTEM BEFORE INTERFACE
55-
"${gtest_SOURCE_DIR}/include"
56-
"${gmock_SOURCE_DIR}/include")
55+
"$<BUILD_INTERFACE:${gtest_SOURCE_DIR}/include>"
56+
"$<BUILD_INTERFACE:${gmock_SOURCE_DIR}/include>")
5757

5858
####################
5959
# TESTING

UNITTESTS/googletest-CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ project(googletest-download NONE)
55
include(ExternalProject)
66
ExternalProject_Add(googletest
77
GIT_REPOSITORY https://github.com/google/googletest.git
8-
GIT_TAG 8bc11c040a1dcbe50c340b21d78175d152dd3837
8+
GIT_TAG release-1.8.1
99
SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src"
1010
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
1111
CONFIGURE_COMMAND ""

0 commit comments

Comments
 (0)