diff options
author | zhangxy988 <zhangxy988@gmail.com> | 2017-12-01T20·20-0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01T20·20-0500 |
commit | 579f2879acb6ad6e2935cc970399a1e52c1ee9eb (patch) | |
tree | 713d2984a497c5b93742abd2725b24f44e043ba0 | |
parent | 3562f9bb797ac8dd962e899c2633a45eae24522d (diff) | |
parent | 56d970fd0ebee318878917619ed0920d41b99d74 (diff) |
Merge pull request #51 from behrenhoff/master
Fix CMakeLists.txt for ostringstream_test
-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} ) |