Fix gtest installation setup with submodules

pull/12660/head
Mike Kruskal 2 years ago
parent 99b83289e9
commit ce07c45a10
  1. 6
      cmake/gtest.cmake

@ -32,9 +32,9 @@ else()
"GTEST_CREATE_SHARED_LIBRARY=1"
)
if (protobuf_INSTALL)
set(protobuf_INSTALL_TESTS ON)
endif()
endif()
if (protobuf_INSTALL)
set(protobuf_INSTALL_TESTS ON)
endif()
target_link_libraries(gmock ${CMAKE_THREAD_LIBS_INIT})

Loading…
Cancel
Save