Skip to content

Commit

Permalink
add gmock to cmake defs for no_destructor_test
Browse files Browse the repository at this point in the history
This is missing, which causes build-time breakages in cmake builds when
gtest is directly included as part of the build's cmake tree.
no_destructor_test directly `#include`s gmock.

PiperOrigin-RevId: 675253814
Change-Id: Id9ce8b2935c526ea0bfca91590c23bbbcde05f9c
  • Loading branch information
Abseil Team authored and copybara-github committed Sep 16, 2024
1 parent a186a2d commit bd0429d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions absl/base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ absl_cc_test(
absl::no_destructor
absl::config
absl::raw_logging_internal
GTest::gmock
GTest::gtest_main
)

Expand Down

0 comments on commit bd0429d

Please sign in to comment.