fix linking with allegro primitives, fix header name when installed, update readme

This commit is contained in:
2026-09-22 19:08:40 -05:00
parent 07395f7777
commit a9c82c406d
5 changed files with 23 additions and 8 deletions

View File

@@ -3,7 +3,7 @@ include_directories(../font)
set(TTF_SOURCES allegro_schrift.c schrift.c)
set(TTF_INCLUDE_FILES allegro5/allegro_schrift.h)
set(TTF_INCLUDE_FILES allegro5/allegro_ttf.h)
#set_our_header_properties(${TTF_INCLUDE_FILES})
@@ -16,7 +16,7 @@ add_our_addon_library(allegro_ttf
AllegroTTF-${ALLEGRO_SOVERSION}
"${TTF_SOURCES};${TTF_INCLUDE_FILES}"
"-DALLEGRO_TTF_SRC"
"${FONT_LINK_WITH};${TTF_LIBRARIES}"
"${FONT_LINK_WITH};${PRIMITIVES_LINK_WITH};${TTF_LIBRARIES}"
)
#target_compile_options(allegro_ttf PRIVATE "-fsanitize=undefined" "-lasan")