diff options
author | gregory guy <[email protected]> | 2021-08-17 13:06:41 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-08-25 15:21:30 +0200 |
commit | 2e4e81b25e17309dadfcbce6cda68a0bf9516305 (patch) | |
tree | b14a6e254ed2604ee16bf6fce6ed816a81f0bc29 /po | |
parent | c995c0ed60652f38c8523d1a7ddef4c255afc913 (diff) | |
download | libkdcraw-2e4e81b25e17309dadfcbce6cda68a0bf9516305.tar.gz libkdcraw-2e4e81b25e17309dadfcbce6cda68a0bf9516305.zip |
Conversion to the cmake building system.
Signed-off-by: gregory guy <[email protected]>
some fixes and improvements.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'po')
-rw-r--r-- | po/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt new file mode 100644 index 0000000..0e8b8f9 --- /dev/null +++ b/po/CMakeLists.txt @@ -0,0 +1,8 @@ +file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ./*/*.po ) + +foreach( _po ${po_files} ) + string( REGEX REPLACE "/.*" "" _lang ${_po} ) + if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" ) + tde_create_translation( FILES ${_po} LANG ${_lang} ) + endif() +endforeach() |