zmk/app/module/drivers/sensor/max17048/CMakeLists.txt
Peter Johanson 485078d02b fix(sensors): Avoid duplicate Kconfig name.
* Upstream added an equivalent fuel gauge driver, so namespace
  our Kconfig symbol for the MAX17048 driver.
2023-11-15 11:43:11 -08:00

9 lines
269 B
CMake

# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT
zephyr_include_directories(.)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_ZMK_MAX17048 max17048.c)
zephyr_library_sources_ifndef(CONFIG_ZMK_MAX17048 ${ZEPHYR_BASE}/misc/empty_file.c)