Skip to content

Commit b8ab100

Browse files
gmarullcarlescufi
authored andcommitted
cmake: use zephyr_syscall_include_directories
Instead of appending to SYSCALL_INCLUDE_DIRS. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 71c249b commit b8ab100

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
# This is needed so that custom driver classes using system calls are taken into
99
# account
10-
list(APPEND SYSCALL_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include)
11-
set(SYSCALL_INCLUDE_DIRS ${SYSCALL_INCLUDE_DIRS} PARENT_SCOPE)
10+
zephyr_syscall_include_directories(include)
1211

1312
zephyr_include_directories(include)
1413

0 commit comments

Comments
 (0)