diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-03-13 16:31:34 +0100 |
---|---|---|
committer | gregory guy <g-gregory@gmx.fr> | 2019-03-20 13:46:42 +0100 |
commit | 4dfb812575ade9e6dbeb10389c58588238c316d8 (patch) | |
tree | 5bf2d3c08e03edc5c481eab0034512b0e0e17cb2 /po | |
parent | 32438582c1e9903343046fdb9eb8914a13aded7a (diff) | |
download | libkipi-4dfb812575ade9e6dbeb10389c58588238c316d8.tar.gz libkipi-4dfb812575ade9e6dbeb10389c58588238c316d8.zip |
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'po')
-rw-r--r-- | po/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt new file mode 100644 index 0000000..e3b5278 --- /dev/null +++ b/po/CMakeLists.txt @@ -0,0 +1,7 @@ +file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_NAME}.po ) + +foreach( _po ${po_files} ) + string( REPLACE "/" ";" _path "${_po}" ) + list( GET _path 0 _lang ) + tde_create_translation( FILES ${_po} LANG ${_lang} ) +endforeach( ) |