projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea248ff
)
So who woulda thunk that REMOVE_DUPLICATES fails on an empty list?
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 12 Feb 2009 16:50:20 +0000
(17:50 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 12 Feb 2009 16:50:55 +0000
(17:50 +0100)
i18n/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/i18n/CMakeLists.txt
b/i18n/CMakeLists.txt
index
a8b4068
..
2841799
100644
(file)
--- 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(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!")
message(STATUS "Including languages: ${gen_linguas}")
else(QT_LRELEASE_EXECUTABLE)
message(STATUS "WARNING: lrelease not found, you won't have translations!")