zephyr/drivers/sensor/lis3mdl/CMakeLists.txt

5 lines
144 B
CMake

zephyr_library()
zephyr_library_sources_ifdef(CONFIG_LIS3MDL lis3mdl.c)
zephyr_library_sources_ifdef(CONFIG_LIS3MDL_TRIGGER lis3mdl_trigger.c)