From 286ca4cf3013cc41b582f2423119c5bd9992c0d5 Mon Sep 17 00:00:00 2001 From: Loo Rong Jie Date: Sat, 23 Jun 2018 10:16:48 +0800 Subject: Fix CMake declaration for absl::str_format --- absl/strings/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'absl') diff --git a/absl/strings/CMakeLists.txt b/absl/strings/CMakeLists.txt index 3d30c72..cd12213 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" -- cgit v1.2.3