1 include_directories(${FREETYPE_INCLUDE_DIR})
3 set(kfontinst_LIB_SRCS Misc.cpp DisabledFonts.cpp Fc.cpp)
4 set(kfontinstui_LIB_SRCS FcEngine.cpp )
6 kde4_add_library(kfontinst SHARED ${kfontinst_LIB_SRCS})
7 target_link_libraries(kfontinst ${KDE4_KIO_LIBS} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES})
8 set_target_properties(kfontinst PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
10 kde4_add_library(kfontinstui SHARED ${kfontinstui_LIB_SRCS})
11 target_link_libraries(kfontinstui ${KDE4_KIO_LIBS} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES} ${X11_Xft_LIB} kfontinst )
12 set_target_properties(kfontinstui PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
13 install(TARGETS kfontinst kfontinstui ${INSTALL_TARGETS_DEFAULT_ARGS} )