Commit e7ba61d6 authored by Bhushan Shah's avatar Bhushan Shah 📱 Committed by Bhushan Shah
Browse files

kcms/kfontinst: drop most useless cmake code of 2020

parent 923e7972
if (KFI_BUILD_STANDALONE)
cmake_minimum_required(VERSION 2.6.4)
find_package(KDE4 "4.6.0" REQUIRED)
find_package(Qt4 REQUIRED)
find_package(Freetype REQUIRED)
find_package(Fontconfig REQUIRED)
find_package(Strigi REQUIRED)
find_package(X11 REQUIRED)
macro_log_feature(X11_Xft_FOUND "libxft" "X FreeType interface library" "https://www.x.org" FALSE "" "Font installer and font previews")
include(KDE4Defaults)
endif ()
# KI18N Translation Domain for this library
add_definitions(-DTRANSLATION_DOMAIN=\"kfontinst\")
......@@ -28,7 +16,6 @@ if (X11_Xft_FOUND)
${CMAKE_CURRENT_SOURCE_DIR}/viewpart
${CMAKE_CURRENT_SOURCE_DIR}/kcmfontinst
${CMAKE_CURRENT_BINARY_DIR}/kcmfontinst)
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
set(libkfontinstdbusiface_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/dbus/FontinstIface.cpp)
set(libkfontinstview_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/viewpart/FontPreview.cpp
......
Markdown is supported
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