X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=po%2FCMakeLists.txt;h=1d95aa6206d9df028178609962040b661fa7ded1;hp=cac949c7ed492c6fd711b29e18c320caa7d0cfdd;hb=18746a803a6cf040c6525f8916bb721c1edbce1f;hpb=4ce53949ab7d52a49ae79b8817bd3aa50fada0d1 diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index cac949c7..1d95aa62 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1,7 +1,7 @@ # Generate and add translations # The LINGUAS variable can be used to limit that set -if(QT_LCONVERT_EXECUTABLE) +if (TARGET Qt5::lconvert) # get environment variable for translations set(LINGUAS "$ENV{LINGUAS}") string(REGEX REPLACE "[ \t]+" \; output "${LINGUAS}")