summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2022-10-03 14:47:10 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-10-03 14:48:30 -0700
commitf19051447ff8f3feb5f1f9abb8d0df2337347781 (patch)
tree69ca7660e43cb8df2c7460a6ef316c2dc4c30f32 /absl
parentf8e0ff7f33338c2874b75e45e4ea5abbfafb954c (diff)
CMake: Mark absl::cord_test_helpers and absl::spy_hash_state PUBLIC
PiperOrigin-RevId: 478611460 Change-Id: I327dbd1c16a22649e3a25b9ebbc94b48a2fda26f
Diffstat (limited to 'absl')
-rw-r--r--absl/hash/CMakeLists.txt5
-rw-r--r--absl/strings/CMakeLists.txt1
2 files changed, 6 insertions, 0 deletions
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.