X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=i18n%2FCMakeLists.txt;h=2841799d5c54a96d645b38923a1c925ef44e0f3c;hp=a8b40684563e4884c2ef0c6a94d0c12c3b0b9385;hb=0bc4b2b4a25adea85d5f6c6947cfd31f9098149e;hpb=318483ddb3de556a4014cb2d5b5e6cd58b0718e2 diff --git a/i18n/CMakeLists.txt b/i18n/CMakeLists.txt index a8b40684..2841799d 100644 --- a/i18n/CMakeLists.txt +++ b/i18n/CMakeLists.txt @@ -22,7 +22,9 @@ if(QT_LRELEASE_EXECUTABLE) list(APPEND gen_linguas ${lang}) endif(flg) endforeach(TS_FILE ${avail_tsfiles}) - list(REMOVE_DUPLICATES gen_linguas) + if(gen_linguas) + list(REMOVE_DUPLICATES gen_linguas) + endif(gen_linguas) message(STATUS "Including languages: ${gen_linguas}") else(QT_LRELEASE_EXECUTABLE) message(STATUS "WARNING: lrelease not found, you won't have translations!")