cmake_minimum_required(VERSION 3.22)
if (NOT DEFINED MINERVA_ARCH OR NOT DEFINED MINERVA_SYSROOT)
message(FATAL_ERROR "MINERVA_ARCH and MINERVA_SYSROOT must be defined")
endif()
# MINERVA_ARCH is used by the included file.
include(Userland/Libraries/LibC/Headers.cmake)
link_libc_headers("${CMAKE_CURRENT_SOURCE_DIR}/Userland/Libraries/LibC" "${MINERVA_SYSROOT}/usr/include")