From c7a2d4b670021d86c797dc1ecb0d15770a151fc2 Mon Sep 17 00:00:00 2001 From: Markus Becker Date: Mon, 13 Apr 2020 22:05:01 +0200 Subject: [PATCH] Use zephyr_include_directories --- gecko/radio/rail_lib/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gecko/radio/rail_lib/CMakeLists.txt b/gecko/radio/rail_lib/CMakeLists.txt index edf7701f5..be16e4dcd 100644 --- a/gecko/radio/rail_lib/CMakeLists.txt +++ b/gecko/radio/rail_lib/CMakeLists.txt @@ -11,11 +11,12 @@ zephyr_library_import(rail_lib_static ${CMAKE_CURRENT_SOURCE_DIR}/${RAIL_LIB_STA zephyr_interface_library_named(RAIL_LIB) -target_include_directories(RAIL_LIB INTERFACE +zephyr_include_directories( common/ chip/efr32/efr32xg1x/ + plugin/pa-conversions/ ) -target_include_directories_ifdef(CONFIG_SOC_GECKO_RAIL_LIB_IEEE802154 RAIL_LIB INTERFACE +zephyr_include_directories_ifdef(CONFIG_SOC_GECKO_RAIL_LIB_IEEE802154 protocol/ieee802154/ )