Skip to content

Commit 37d920c

Browse files
committed
Reduce build time - don't build googlemock
1 parent 1f5f5f1 commit 37d920c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/get_googletest.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ function(get_googletest LWPA_REPO_ROOT)
2626
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
2727

2828
# Add googletest directly to our build. This adds the following targets:
29-
# gtest, gtest_main, gmock and gmock_main
30-
add_subdirectory("${CMAKE_CURRENT_BINARY_DIR}/googletest-src"
29+
# gtest and gtest_main
30+
add_subdirectory("${CMAKE_CURRENT_BINARY_DIR}/googletest-src/googletest"
3131
"${CMAKE_CURRENT_BINARY_DIR}/googletest-build")
3232

3333
endfunction(get_googletest)

0 commit comments

Comments
 (0)