summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Andrei Polushin <polushin@gmail.com>2022-01-07 21:44:10 +0700
committerGravatar GitHub <noreply@github.com>2022-01-07 09:44:10 -0500
commit4799f6225a4fcf1fa2383d2eff25830c343bc9e9 (patch)
treeea428a385a0a7577e032116a84018e1eca69f991 /absl
parent294166fcbeae8c19b8817330a0874c186d147266 (diff)
cmake: make `random_mocking_bit_gen` library public. (#1084)
An external project may depend on an Abseil `TESTONLY` library like `absl::random_mocking_bit_gen`. Such a library should not be excluded from build when Abseil's own tests are not built. fixes #997
Diffstat (limited to 'absl')
-rw-r--r--absl/random/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/random/CMakeLists.txt b/absl/random/CMakeLists.txt
index 7fbd460d..b4ada69b 100644
--- a/absl/random/CMakeLists.txt
+++ b/absl/random/CMakeLists.txt
@@ -121,6 +121,7 @@ absl_cc_library(
absl::variant
GTest::gmock
GTest::gtest
+ PUBLIC
TESTONLY
)