summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
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.