summaryrefslogtreecommitdiffstats
path: root/kernel/kls_ttf/CMakeLists.txt
blob: bd4c2a4697b436c90a0c0ac9285be37d003c8755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/ftview
  ${CMAKE_SOURCE_DIR}/kernel/include
  ${CMAKE_BINARY_DIR}
  ${FREETYPE_INCLUDE_DIRS}
)


add_subdirectory( ftview )


##### codecs

tde_add_library( kls_ttf SHARED AUTOMOC
  SOURCES fmt_codec_pnm.cpp
  LINK ksquirrel-libs-shared
  VERSION 0.8.0
  DESTINATION ${LIB_INSTALL_DIR}/ksquirrel-libs
)

tde_add_executable( ksquirrel-libs-ttf2pnm
  SOURCES ttf2pnm.cpp ftcommon.cpp
  LINK ${LCMS_LIBRARIES} ${FREETYPE_LIBRARIES} ftview-static
  DESTINATION ${BIN_INSTALL_DIR}
)