summaryrefslogtreecommitdiffstats
path: root/CMakeL10n.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-22 20:52:44 +0900
committerMavridis Philippe <[email protected]>2024-03-24 23:17:01 +0200
commitfd62635a2792b5cbbbae1c5288992af0054332ee (patch)
tree142ee8d27f069a78e367f1eaa837d6e4c2c600ea /CMakeL10n.txt
parent57f8e4dbf7dc6cce58dfc11b5aab03e86b7cbdc7 (diff)
downloadtde-style-polyester-fd62635a2792b5cbbbae1c5288992af0054332ee.tar.gz
tde-style-polyester-fd62635a2792b5cbbbae1c5288992af0054332ee.zip
Use centralized cmake version. Align cmake files to usual TDE style
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'CMakeL10n.txt')
-rw-r--r--CMakeL10n.txt20
1 files changed, 16 insertions, 4 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 3fdae80..0b6987e 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -8,13 +8,25 @@
# Improvements and feedback are welcome! #
################################################################################
-cmake_minimum_required(VERSION 3.5)
-include(TDEL10n)
-tde_l10n_auto_add_subdirectories()
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
+
+
+##### include our cmake modules #################
+
+include( TDEL10n )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
### create translation templates ###############################################
+
tde_l10n_create_template( "messages/polyester/" )
tde_l10n_create_template(
@@ -25,4 +37,4 @@ tde_l10n_create_template(
color-schemes/PolyesterBlue.kcsrc
color-schemes/PolyesterEmerald.kcsrc
color-schemes/PolyesterOrangeJuice.kcsrc
-) \ No newline at end of file
+)