aboutsummaryrefslogtreecommitdiff
path: root/src/cguittfont/CMakeLists.txt
blob: 94d06146259058accc2729e2146b91c7b8e3eaf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include_directories(
  ${IRRLICHT_INCLUDE_DIR}
  ${FREETYPE_INCLUDE_DIRS}
)

# CGUITTFont authors, y u no include headers you use?
#   Do not add CGUITTFont.cpp to the line below.
#   xCGUITTFont.cpp is a wrapper file that includes
#   additional required headers.
add_library(cguittfont xCGUITTFont.cpp)

target_link_libraries(
  cguittfont
  ${IRRLICHT_LIBRARY}
  ${FREETYPE_LIBRARY}
  ${ZLIB_LIBRARIES}  # needed by freetype, repeated here for safety
)