CMakeLists.txt: Add include directory only for atmel devices
The main CMakeLists.txt for this repository adds an include directory without checking that the module is enabled. This causes ALL Zephyr builds to have modules/hal/atmel/include in their included directories. This commit adds a conditional to this addition, to address this problem. Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
This commit is contained in:
parent
a48627169e
commit
bb4e710413
|
@ -1,2 +1,2 @@
|
|||
zephyr_include_directories(include)
|
||||
zephyr_include_directories_ifdef(CONFIG_ASF include)
|
||||
add_subdirectory(asf)
|
||||
|
|
Loading…
Reference in New Issue