mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
Makes CMake to automatically generate the list of languages
This commit is contained in:
parent
5993175b52
commit
9afcf49108
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ set(LINPHONE_MICRO_VERSION "1")
|
|||
set(LINPHONE_VERSION "${LINPHONE_MAJOR_VERSION}.${LINPHONE_MINOR_VERSION}.${LINPHONE_MICRO_VERSION}")
|
||||
set(LINPHONE_SO_VERSION "6")
|
||||
|
||||
set(LINPHONE_ALL_LANGS "cs de es fr he hu it ja nb_NO nl pl pt_BR ru sr sv zh_CN zh_TW")
|
||||
file(GLOB LINPHONE_PO_FILES RELATIVE "po" "po/*.po")
|
||||
string(REPLACE ".po" "" LINPHONE_ALL_LANGS "${LINPHONE_PO_FILES}")
|
||||
|
||||
|
||||
include(CMakeDependentOption)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue