Commit 2291cf6d authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kcms/font] Simplify CMake code

parent 6f0c734d
......@@ -15,8 +15,6 @@ if(X11_Xcursor_FOUND)
add_subdirectory(cursortheme)
endif()
set(libkxftconfig_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/fonts/kxftconfig.cpp )
if(FONTCONFIG_FOUND)
add_subdirectory( kfontinst )
add_subdirectory( fonts )
......
......@@ -3,21 +3,16 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kcm_fonts\")
########### next target ###############
include_directories(../kfontinst/lib)
set(kcm_fonts_PART_SRCS
previewrenderengine.cpp
previewimageprovider.cpp
fonts.cpp
fontsaasettings.cpp
kxftconfig.cpp
../kfontinst/lib/FcEngine.cpp
../kcms-common_p.h
)
if(X11_FOUND)
set(kcm_fonts_PART_SRCS ${kcm_fonts_PART_SRCS} ${libkxftconfig_SRCS})
endif()
kcmutils_generate_module_data(
kcm_fonts_PART_SRCS
MODULE_DATA_HEADER fontsdata.h
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment