Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
2291cf6d
Commit
2291cf6d
authored
Mar 22, 2021
by
Nicolas Fella
Browse files
[kcms/font] Simplify CMake code
parent
6f0c734d
Changes
2
Hide whitespace changes
Inline
Side-by-side
kcms/CMakeLists.txt
View file @
2291cf6d
...
...
@@ -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
)
...
...
kcms/fonts/CMakeLists.txt
View file @
2291cf6d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment