From b44a2d723a6412f27f54c9a46b9621b282dc29fc Mon Sep 17 00:00:00 2001 From: Ewout van Bekkum Date: Tue, 15 Nov 2022 02:09:30 +0000 Subject: pw_build/cmake: Migrate pw_add_module_library -> pw_add_library Updates pw_add_library to replace pw_add_module_library where the library type must be explicitly specified, just like pw_add_library_generic. Migrates all pw_add_module_library uses to pw_add_library. Change-Id: I62efdeca1e227a3c82667cac5e46fe383c280cc2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/119318 Commit-Queue: Auto-Submit Pigweed-Auto-Submit: Ewout van Bekkum Reviewed-by: Wyatt Hepler --- pw_function/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pw_function/CMakeLists.txt') diff --git a/pw_function/CMakeLists.txt b/pw_function/CMakeLists.txt index 4d944a2bb..bdb0a2d47 100644 --- a/pw_function/CMakeLists.txt +++ b/pw_function/CMakeLists.txt @@ -16,7 +16,7 @@ include($ENV{PW_ROOT}/pw_build/pigweed.cmake) pw_add_module_config(pw_function_CONFIG) -pw_add_module_library(pw_function.config +pw_add_library(pw_function.config INTERFACE HEADERS public/pw_function/config.h PUBLIC_INCLUDES @@ -25,7 +25,7 @@ pw_add_module_library(pw_function.config ${pw_function_CONFIG} ) -pw_add_module_library(pw_function +pw_add_library(pw_function INTERFACE HEADERS public/pw_function/function.h PUBLIC_INCLUDES -- cgit v1.2.3