From db1941140c41eb7f634436ad1b3ef6006d83fd87 Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 6 Jan 2023 13:40:53 +0100 Subject: [PATCH] Explicitly include system headers to make it build on CI --- apps/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 4c4a143a..8f0cdef2 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -1,6 +1,7 @@ function(luna_app SOURCE_FILE APP_NAME) add_executable(${APP_NAME} ${SOURCE_FILE}) add_dependencies(${APP_NAME} libc) + target_include_directories(${APP_NAME} PRIVATE ${LUNA_BASE}/usr/include) install(TARGETS ${APP_NAME} DESTINATION ${LUNA_ROOT}/initrd/bin) endfunction()