zephyr/drivers/sensor/lis2mdl/CMakeLists.txt

12 lines
260 B
CMake

#
# Copyright (c) 2018-2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
zephyr_library()
zephyr_library_sources(lis2mdl.c)
zephyr_library_sources_ifdef(CONFIG_LIS2MDL_TRIGGER lis2mdl_trigger.c)
zephyr_library_include_directories(../stmemsc)