summaryrefslogtreecommitdiff
path: root/po/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r--po/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 165d352..b603755 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -9,6 +9,12 @@ SET ( _gmoFiles )
###############################################################################
# CREATE .MO FOR EACH .PO
###############################################################################
+# How are languages installed:
+# Check if there is env variable LINGUAS
+# if it is unset, install all languages
+# if it is empty, dont install any language
+# if it is set to some value, install those
+###############################################################################
FOREACH ( _current_PO_FILE ${_po_files} )
GET_FILENAME_COMPONENT( _lang ${_current_PO_FILE} NAME_WE )
SET( _gmoFile ${CMAKE_BINARY_DIR}/po/${_lang}.gmo )