zmk_mf68/app/drivers/zephyr/CMakeLists.txt

13 lines
292 B
CMake
Raw Normal View History

if(CONFIG_ZMK_KSCAN_GPIO_DRIVER)
zephyr_include_directories(.)
zephyr_library()
zephyr_library_sources(
kscan_gpio_matrix.c
kscan_gpio_direct.c
)
2020-07-18 12:43:19 +10:00
zephyr_library_sources_ifdef(CONFIG_EN11 en11.c)
zephyr_library_sources_ifdef(CONFIG_EN11_TRIGGER en11_trigger.c)
endif()