summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2024-01-30 10:13:25 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-01-30 10:14:19 -0800
commit779a3565ac6c5b69dd1ab9183e500a27633117d5 (patch)
treed496b15216b2485985b7b80545ab6d4fd48058b6
parentcbdbec098f6365c5afc1e3c088a6f48fb8835b59 (diff)
Avoid export of testonly target absl::test_allocator in CMake builds
Closes #1536 PiperOrigin-RevId: 602764437 Change-Id: Ia5c20a3874262a2ddb8797f608af17d7e86dd6d6
-rw-r--r--absl/container/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/container/CMakeLists.txt b/absl/container/CMakeLists.txt
index 449a2cad..ee9ca9c3 100644
--- a/absl/container/CMakeLists.txt
+++ b/absl/container/CMakeLists.txt
@@ -213,6 +213,7 @@ absl_cc_library(
DEPS
absl::config
GTest::gmock
+ TESTONLY
)
absl_cc_test(