1
0
Fork 0
flightgear/3rdparty/fonts/CMakeLists.txt
2020-09-29 12:30:34 +01:00

16 lines
369 B
CMake

set (FNT_SOURCES
fnt.cxx
fntTXF.cxx
fntBitmap.cxx
)
add_library(PLIBFont STATIC ${FNT_SOURCES})
target_link_libraries(PLIBFont SimGearCore )
# 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})
target_include_directories(PLIBFont PRIVATE ${PLIB_INCLUDE_DIR})