aboutsummaryrefslogtreecommitdiff
path: root/pw_chrono_zephyr
diff options
context:
space:
mode:
authorEwout van Bekkum <ewout@google.com>2022-11-15 02:09:30 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-15 02:09:30 +0000
commitb44a2d723a6412f27f54c9a46b9621b282dc29fc (patch)
tree0069c1d2f13dda8811e741418c82fafb8a2cc3c4 /pw_chrono_zephyr
parente4933d7b19d8acef87e68bcfd6b6c11243d4b63a (diff)
downloadpigweed-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_chrono_zephyr')
-rw-r--r--pw_chrono_zephyr/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw_chrono_zephyr/CMakeLists.txt b/pw_chrono_zephyr/CMakeLists.txt
index 55f64fea3..4ed4d33e1 100644
--- a/pw_chrono_zephyr/CMakeLists.txt
+++ b/pw_chrono_zephyr/CMakeLists.txt
@@ -15,7 +15,7 @@
include($ENV{PW_ROOT}/pw_build/pigweed.cmake)
if(CONFIG_PIGWEED_CHRONO_SYSTEM_CLOCK)
- pw_add_module_library(pw_chrono_zephyr.system_clock
+ pw_add_library(pw_chrono_zephyr.system_clock INTERFACE
HEADERS
public/pw_chrono_zephyr/system_clock_constants.h
public/pw_chrono_zephyr/system_clock_config.h