From 08608d2344c341a7a049f91ee326c81001c7f6f0 Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 6 Jan 2023 13:38:48 +0100 Subject: [PATCH] Depend on libc headers --- luna/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/luna/CMakeLists.txt b/luna/CMakeLists.txt index 90dd5a40..9e301eb1 100644 --- a/luna/CMakeLists.txt +++ b/luna/CMakeLists.txt @@ -43,6 +43,7 @@ target_compile_options(luna PRIVATE -Wmissing-include-dirs -Wswitch-default -Wca target_compile_options(luna PRIVATE -Wcast-align -Wwrite-strings -Wlogical-op -Wredundant-decls -Wshadow -Wconversion) target_compile_options(luna PRIVATE -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -std=c++20) target_include_directories(luna PUBLIC include/) +target_include_directories(luna PUBLIC ${LUNA_BASE}/usr/include) if("${ARCH}" MATCHES "x86_64") target_compile_options(luna-freestanding PRIVATE -mno-red-zone)