X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=i18n%2FCMakeLists.txt;h=909b968f0cecd68257181d1abe8e0173f50ce2e4;hp=8f9f38e98afd650895ef4d5e0506d4a57c95e896;hb=1514aaae673660c7a3e2a82545b8c3947ea3f9b7;hpb=5cfabc7f10123e0e4f03f76ef8ecbdd6c36df511 diff --git a/i18n/CMakeLists.txt b/i18n/CMakeLists.txt index 8f9f38e9..909b968f 100644 --- a/i18n/CMakeLists.txt +++ b/i18n/CMakeLists.txt @@ -13,9 +13,9 @@ if(QT_LRELEASE_EXECUTABLE) string(REGEX REPLACE "quassel_(.+)$" "\\1" lang ${basename}) # test if we want this set(flg 1) - if(linguas) - string(REGEX MATCH "${lang}" flg ${linguas}) - endif(linguas) + if(LINGUAS) + string(REGEX MATCH "${lang}" flg ${LINGUAS}) + endif(LINGUAS) if(flg) generate_qm(QM ${basename}) set(qm_files ${qm_files} ${QM})