diff options
author | Wolf Behrenhoff <wolf@behrenhoff.de> | 2017-11-27T11·05+0100 |
---|---|---|
committer | Wolf Behrenhoff <behrenhoff@simcog.de> | 2017-11-27T11·05+0100 |
commit | 56d970fd0ebee318878917619ed0920d41b99d74 (patch) | |
tree | 4a2b65927039d078b4eca318db8ffb60de77792e /absl | |
parent | ae0cef35ae5a7bfd873fb87babdd4900cbdb073c (diff) |
Fix CMakeLists.txt for ostringstream_test
After commit 99b92c87 compiling with CMake stopped working. This commit fixes the issue.
Diffstat (limited to 'absl')
-rw-r--r-- | absl/strings/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/strings/CMakeLists.txt b/absl/strings/CMakeLists.txt index dcd4974bc61d..f75b55a959ac 100644 --- a/absl/strings/CMakeLists.txt +++ b/absl/strings/CMakeLists.txt @@ -49,6 +49,7 @@ list(APPEND STRINGS_SRC "internal/memutil.cc" "internal/memutil.h" "internal/utf8.cc" + "internal/ostringstream.cc" "match.cc" "numbers.cc" "str_cat.cc" @@ -205,12 +206,15 @@ absl_test( # test ostringstream_test set(OSTRINGSTREAM_TEST_SRC "internal/ostringstream_test.cc") +set(OSTRINGSTREAM_TEST_PUBLIC_LIBRARIES absl::strings) absl_test( TARGET ostringstream_test SOURCES ${OSTRINGSTREAM_TEST_SRC} + PUBLIC_LIBRARIES + ${OSTRINGSTREAM_TEST_PUBLIC_LIBRARIES} ) |