summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/CMakeLists.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/media/CMakeLists.txt b/media/CMakeLists.txt
index f807c20..647b8fd 100644
--- a/media/CMakeLists.txt
+++ b/media/CMakeLists.txt
@@ -11,13 +11,14 @@ install(
icon-display.png
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
-)
-
-install(
- FILES
- KBDefault.tar.gz
- KSDefault.tar.gz
- KCDefault.tar.gz
-
- DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/themes
)
+
+foreach( _theme KBDefault KCDefault KSDefault )
+
+ tde_create_tarball(
+ TARGET ${_theme}.tar.gz
+ SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}/${_theme}
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/themes
+ )
+
+endforeach( )