BuildSystem: Cleanup and fix cmake files

I now set library SONAME so i don't have to build them in build root.

Creating font now makes sure the install directory exists. This allows
building using make files.

LibC now links agains ligcc
This commit is contained in:
2025-01-28 17:11:21 +02:00
parent 7a10e0e347
commit cbe3f2a4ac
5 changed files with 13 additions and 4 deletions

View File

@@ -11,5 +11,8 @@ banan_link_library(ban libc)
set_target_properties(ban PROPERTIES OUTPUT_NAME libban)
# set SONAME as cmake doesn't set it for some reason??
set_target_properties(ban PROPERTIES LINK_FLAGS "-Wl,-soname,libban.so")
banan_install_headers(ban)
install(TARGETS ban OPTIONAL)