Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/CMakeLists.txt
Context not available. | |||||
3 | 3 | | |||
---|---|---|---|---|---|
4 | if(FONTCONFIG_FOUND) | 4 | if(FONTCONFIG_FOUND) | ||
5 | include_directories(${FONTCONFIG_INCLUDE_DIR}) | 5 | include_directories(${FONTCONFIG_INCLUDE_DIR}) | ||
6 | include_directories(${HARFBUZZ_INCLUDE_DIRS}) | ||||
6 | endif() | 7 | endif() | ||
7 | include_directories(${FREETYPE_INCLUDE_DIRS}) | 8 | include_directories(${FREETYPE_INCLUDE_DIRS}) | ||
8 | 9 | | |||
10 | | ||||
9 | ########### next target ############### | 11 | ########### next target ############### | ||
10 | 12 | | |||
11 | include_directories(../kfontinst/lib) | 13 | include_directories(../kfontinst/lib) | ||
12 | 14 | | |||
13 | set(kcm_fonts_PART_SRCS ../krdb/krdb.cpp previewrenderengine.cpp previewimageprovider.cpp fonts.cpp ../kfontinst/lib/FcEngine.cpp) | 15 | set(kcm_fonts_PART_SRCS | ||
16 | fonts.cpp | ||||
17 | ../krdb/krdb.cpp | ||||
18 | ../kfontinst/lib/FcEngine.cpp | ||||
19 | previewrenderengine.cpp | ||||
20 | previewimageprovider.cpp | ||||
21 | renderpreviewimageprovider.cpp | ||||
22 | menupreview.cpp | ||||
23 | ) | ||||
14 | 24 | | |||
15 | if(X11_FOUND) | 25 | if(X11_FOUND) | ||
16 | set(kcm_fonts_PART_SRCS ${kcm_fonts_PART_SRCS} ${libkxftconfig_SRCS}) | 26 | set(kcm_fonts_PART_SRCS ${kcm_fonts_PART_SRCS} ${libkxftconfig_SRCS}) | ||
27 | if(FONTCONFIG_FOUND) | ||||
28 | set(kcm_fonts_PART_SRCS ${kcm_fonts_PART_SRCS} freetype-renderer.cpp) | ||||
29 | endif() | ||||
17 | endif() | 30 | endif() | ||
18 | 31 | | |||
19 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | 32 | set(klauncher_xml ${KINIT_DBUS_INTERFACES_DIR}/kf5_org.kde.KLauncher.xml) | ||
Context not available. | |||||
32 | KF5::Declarative | 45 | KF5::Declarative | ||
33 | KF5::QuickAddons) | 46 | KF5::QuickAddons) | ||
34 | if(FONTCONFIG_FOUND) | 47 | if(FONTCONFIG_FOUND) | ||
35 | target_link_libraries(kcm_fonts ${FONTCONFIG_LIBRARIES}) | 48 | target_link_libraries(kcm_fonts | ||
49 | ${FONTCONFIG_LIBRARIES} | ||||
50 | ${HARFBUZZ_LIBRARIES} | ||||
51 | ) | ||||
36 | endif() | 52 | endif() | ||
37 | 53 | | |||
38 | target_link_libraries(kcm_fonts ${X11_LIBRARIES} ${X11_Xft_LIB}) | 54 | target_link_libraries(kcm_fonts ${X11_LIBRARIES} ${X11_Xft_LIB}) | ||
Context not available. |