diff options
author | Loo Rong Jie <loorongjie@gmail.com> | 2018-06-23T02·16+0800 |
---|---|---|
committer | Loo Rong Jie <loorongjie@gmail.com> | 2018-06-23T02·16+0800 |
commit | 286ca4cf3013cc41b582f2423119c5bd9992c0d5 (patch) | |
tree | 767d8bcd8a6c8481c69a087b15b02fb874130f76 | |
parent | 4491d606df34c44efda47b6d17b605262f17e182 (diff) |
Fix CMake declaration for absl::str_format
-rw-r--r-- | absl/strings/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/absl/strings/CMakeLists.txt b/absl/strings/CMakeLists.txt index 3d30c72a0cda..cd122134729f 100644 --- a/absl/strings/CMakeLists.txt +++ b/absl/strings/CMakeLists.txt @@ -82,11 +82,9 @@ absl_library( ) # add str_format library -absl_library( +absl_header_library( TARGET absl_str_format - SOURCES - "str_format.h" PUBLIC_LIBRARIES str_format_internal EXPORT_NAME @@ -94,7 +92,7 @@ absl_library( ) # str_format_internal - absl_library( +absl_library( TARGET str_format_internal SOURCES @@ -123,7 +121,7 @@ absl_library( # str_format_extension_internal absl_library( TARGET - str_format_extension_internal + str_format_extension_internal SOURCES "internal/str_format/extension.cc" "internal/str_format/extension.h" |