From 9ff4a0276de39037d1126399dc235c8f76f15b77 Mon Sep 17 00:00:00 2001 From: MiguelBarro Date: Sat, 23 Sep 2023 07:45:00 +0200 Subject: [PATCH] Avoid export internal target in non-test builds Signed-off-by: MiguelBarro --- absl/container/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/absl/container/CMakeLists.txt b/absl/container/CMakeLists.txt index a1633514269..79682e8cbb2 100644 --- a/absl/container/CMakeLists.txt +++ b/absl/container/CMakeLists.txt @@ -212,6 +212,7 @@ absl_cc_library( DEPS absl::config GTest::gmock + TESTONLY ) absl_cc_test(