From f19051447ff8f3feb5f1f9abb8d0df2337347781 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Mon, 3 Oct 2022 14:47:10 -0700 Subject: [PATCH] CMake: Mark absl::cord_test_helpers and absl::spy_hash_state PUBLIC PiperOrigin-RevId: 478611460 Change-Id: I327dbd1c16a22649e3a25b9ebbc94b48a2fda26f --- absl/hash/CMakeLists.txt | 5 +++++ absl/strings/CMakeLists.txt | 1 + 2 files changed, 6 insertions(+) diff --git a/absl/hash/CMakeLists.txt b/absl/hash/CMakeLists.txt index 46365790..15691254 100644 --- a/absl/hash/CMakeLists.txt +++ b/absl/hash/CMakeLists.txt @@ -82,6 +82,10 @@ absl_cc_test( ) # Internal-only target, do not depend on directly. +# +# Note: Even though external code should not depend on this target +# directly, it must be marked PUBLIC since it is a dependency of +# hash_testing. absl_cc_library( NAME spy_hash_state @@ -94,6 +98,7 @@ absl_cc_library( absl::strings absl::str_format TESTONLY + PUBLIC ) # Internal-only target, do not depend on directly. diff --git a/absl/strings/CMakeLists.txt b/absl/strings/CMakeLists.txt index bb073301..e1c2093a 100644 --- a/absl/strings/CMakeLists.txt +++ b/absl/strings/CMakeLists.txt @@ -903,6 +903,7 @@ absl_cc_library( absl::cord_internal absl::strings TESTONLY + PUBLIC ) # Internal-only target, do not depend on directly.