Fix linking against Qt5 on MSVC 69/head
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 29 Mar 2014 16:18:22 +0000 (17:18 +0100)
committerHendrik Leppkes <h.leppkes@gmail.com>
Sat, 29 Mar 2014 16:18:22 +0000 (17:18 +0100)
commitfe475ab0bffc906862d129e432a738973fa2b743
tree18f1e55b42fb27238daefe228c611f64690540f8
parentf6adbb022446c5c7d5813cb13bb5e993e12ef581
Fix linking against Qt5 on MSVC

QT_QTMAIN_LIBRARY is no longer automatically set on Qt5, as it is part of
a deprecated way to link against Qt. Since Quassel needs to support both
Qt4 and Qt5, setting the variable to the appropriate value again works
around the issue until such a time that the CMake requirement is increased
to make use of policy CMP0020.

Note that this is the same workaround cmake itself uses when building
cmake-gui for Windows.
CMakeLists.txt