cmake: Modernize use of Qt Linguist Tools
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 2 Aug 2018 23:11:08 +0000 (01:11 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
commit18746a803a6cf040c6525f8916bb721c1edbce1f
tree7b3bf9b11335963e3807a16dacd66ec2489bd4ad
parent4ce53949ab7d52a49ae79b8817bd3aa50fada0d1
cmake: Modernize use of Qt Linguist Tools

All Qt versions we support provide an alias target for the linguist
tools. Thus, remove the fallback for older Qt versions.

Use the LOCATION property of the tools' target instead of relying
on the corresponding QT_L*_EXECUTABLE variables.
CMakeLists.txt
cmake/QuasselMacros.cmake
po/CMakeLists.txt