about summary refs log tree commit diff
path: root/absl/strings
diff options
context:
space:
mode:
authorAlex Strelnikov <strel@google.com>2018-06-27T17·27-0400
committerGitHub <noreply@github.com>2018-06-27T17·27-0400
commit16ac2ec2e38cdf47f9330a312e319d57da659c10 (patch)
tree84fd5b4e1c58b449d60531680f1d560824cfc2f0 /absl/strings
parent7efd8dc0f1075356e9c7caa950afd1ecf854e8b9 (diff)
parent286ca4cf3013cc41b582f2423119c5bd9992c0d5 (diff)
Merge pull request #134 from rongjiecomputer/cmake
Fix CMake declaration for absl_str_format
Diffstat (limited to 'absl/strings')
-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 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"