fix linking with allegro primitives, fix header name when installed, update readme
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user