diff options
author | Ewout van Bekkum <ewout@google.com> | 2022-11-15 02:09:30 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-15 02:09:30 +0000 |
commit | b44a2d723a6412f27f54c9a46b9621b282dc29fc (patch) | |
tree | 0069c1d2f13dda8811e741418c82fafb8a2cc3c4 /pw_function/CMakeLists.txt | |
parent | e4933d7b19d8acef87e68bcfd6b6c11243d4b63a (diff) | |
download | pigweed-b44a2d723a6412f27f54c9a46b9621b282dc29fc.tar.gz |
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 <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Diffstat (limited to 'pw_function/CMakeLists.txt')
-rw-r--r-- | pw_function/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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 |