mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Added automatic reading of languages list
This commit is contained in:
parent
46b5e7a85d
commit
3a8bef69aa
@ -4,7 +4,8 @@ project( kicad-i18n NONE )
|
||||
|
||||
find_package( Gettext REQUIRED )
|
||||
|
||||
set( LANG_ARRAY ca cs de es fi fr hu it ja ko nl pl pt ru sl sv zh_CN )
|
||||
file(STRINGS LINGUAS LANG_ARRAY REGEX "^[^#].*")
|
||||
|
||||
foreach( LANG ${LANG_ARRAY} )
|
||||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/${LANG})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user