BuildSystem: Cleanup CMake code to allow libc only installation

There was no way to just install libc which is required for stdlibc++
This commit is contained in:
2024-06-20 14:32:05 +03:00
parent 1488ec5a03
commit 9e1b5cbaab
82 changed files with 88 additions and 86 deletions

View File

@@ -212,7 +212,7 @@ banan_include_headers(kernel libinput)
banan_install_headers(kernel)
set_target_properties(kernel PROPERTIES OUTPUT_NAME banan-os.kernel)
install(TARGETS kernel DESTINATION ${BANAN_BOOT})
install(TARGETS kernel DESTINATION ${BANAN_BOOT} OPTIONAL)
if("${BANAN_ARCH}" STREQUAL "x86_64")
set(ELF_FORMAT elf64-x86-64)