summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Loo Rong Jie <loorongjie@gmail.com>2018-06-23 10:16:48 +0800
committerGravatar Loo Rong Jie <loorongjie@gmail.com>2018-06-23 10:16:48 +0800
commit286ca4cf3013cc41b582f2423119c5bd9992c0d5 (patch)
tree767d8bcd8a6c8481c69a087b15b02fb874130f76
parent4491d606df34c44efda47b6d17b605262f17e182 (diff)
Fix CMake declaration for absl::str_format
-rw-r--r--absl/strings/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/absl/strings/CMakeLists.txt b/absl/strings/CMakeLists.txt
index 3d30c72a..cd122134 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"