2020-03-13 11:27:11 +00:00
|
|
|
|
|
|
|
set (FNT_SOURCES
|
|
|
|
fnt.cxx
|
|
|
|
fntTXF.cxx
|
|
|
|
fntBitmap.cxx
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(PLIBFont STATIC ${FNT_SOURCES})
|
|
|
|
|
2020-08-23 17:12:16 +00:00
|
|
|
target_link_libraries(PLIBFont SimGearCore )
|
2020-03-13 11:27:11 +00:00
|
|
|
|
2020-08-23 17:12:16 +00:00
|
|
|
# we use <osg/GL> in fnt.h, so we need to use it
|
|
|
|
target_include_directories(PLIBFont PUBLIC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
${OPENSCENEGRAPH_INCLUDE_DIRS})
|
2020-09-29 11:30:28 +00:00
|
|
|
target_include_directories(PLIBFont PRIVATE ${PLIB_INCLUDE_DIR})
|