Adapt CMake logic for finding lconvert in newer Qt5
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 24 Jul 2014 20:51:16 +0000 (22:51 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 24 Jul 2014 20:51:16 +0000 (22:51 +0200)
commit9d53543b484d6700defb05eea7bc9e3d7c97c3c3
treee6423ad8c67fee4469067a11d7cb1bb192bdb6e5
parent77611288238aef3777466f5d647dd2780f5f72d1
Adapt CMake logic for finding lconvert in newer Qt5

Seems like Qt 5.3 has added the long-missing lconvert target in its CMake
support scripts, however it didn't also add the Qt5_LCONVERT_EXECUTABLE
variable to go along with that. Adding the target disabled our workaround,
breaking translation support in Quassel.

We now also cover this case (and made things future-proof in case Qt5 ever
adds the variable upstream).
CMakeLists.txt