Skip to content

Commit

Permalink
cmake: include mlibc headers at last
Browse files Browse the repository at this point in the history
  • Loading branch information
moodyhunter committed Dec 16, 2023
1 parent d6d9f34 commit 32664ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ endif()
# Public includes interface target
add_library(mos_kernel_include INTERFACE)
target_include_directories(mos_kernel_include SYSTEM INTERFACE
${MOS_MLIBC_HEADER_DIR}/ # mlibc headers
${CMAKE_BINARY_DIR}/include # generated headers
${CMAKE_BINARY_DIR}/kconfig/include # generated kconfig headers
${CMAKE_SOURCE_DIR}/kernel/include/public # public types
${CMAKE_SOURCE_DIR}/arch/${MOS_ARCH}/include/public # public arch (e.g. syscall)
${MOS_MLIBC_HEADER_DIR}/ # mlibc headers
)
add_library(mos::include ALIAS mos_kernel_include)

Expand Down

0 comments on commit 32664ee

Please sign in to comment.