summaryrefslogtreecommitdiffstats
path: root/konsole/fonts/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'konsole/fonts/CMakeLists.txt')
-rw-r--r--konsole/fonts/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/konsole/fonts/CMakeLists.txt b/konsole/fonts/CMakeLists.txt
index e3353a783..e61aa959b 100644
--- a/konsole/fonts/CMakeLists.txt
+++ b/konsole/fonts/CMakeLists.txt
@@ -14,6 +14,8 @@ install( FILES
${CMAKE_CURRENT_BINARY_DIR}/9x15.pcf.gz
DESTINATION ${DATA_INSTALL_DIR}/konsole/fonts )
+# FIXME this should be improved, to guarantee that mkfontdir is executed after fonts are installed
+install( CODE "execute_process( COMMAND mkfontdir \$ENV{DESTDIR}${DATA_INSTALL_DIR}/konsole/fonts )" )
# FIXME generating fonts can be improved