We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f5f5f1 commit 37d920cCopy full SHA for 37d920c
cmake/get_googletest.cmake
@@ -26,8 +26,8 @@ function(get_googletest LWPA_REPO_ROOT)
26
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
27
28
# 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"
+ # gtest and gtest_main
+ add_subdirectory("${CMAKE_CURRENT_BINARY_DIR}/googletest-src/googletest"
31
"${CMAKE_CURRENT_BINARY_DIR}/googletest-build")
32
33
endfunction(get_googletest)
0 commit comments