-
Couldn't load subscription status.
- Fork 195
Open
Labels
enhancementNew feature or requestNew feature or request
Description
CMake expects the targets gtest gtest_main gmock (at cmake/SapiDeps.cmake:48, while externally installed googletest usually exposes these under the GTest namespace, eg as GTest::gtest instead.
Relatedly, set(ABSL_FIND_GOOGLETEST OFF) in cmake/abseil-cpp.cmake makes it hard to use external gtest for the absl subdependency.
Was it intentional to not support external gtest? I've found that one workaround for these is to add aliases for the gtest targetes, and to set ABSL_FIND_GOOGLETEST=ON.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request