Fix SSL detection
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 23 Mar 2014 20:28:28 +0000 (21:28 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 23 Mar 2014 20:34:38 +0000 (21:34 +0100)
commit4f1bed17fa93d62d2d1d688ef5c68563a8bf5942
treed8fa8f96491d6f1d81226fed50a04ad80ff26d5c
parentf717bfb3962e5e168e21a94a1c08dfbc75daeb93
Fix SSL detection

As there is no easy way to check for QT_CONFIG with Qt5 and CMake,
and the way we did it for Qt4 is hackish at best, let's do it the
proper way and compile a short code snippet that checks for the
appropriate defines (QT_NO_OPENSSL for Qt4, and QT_NO_SSL for Qt5).

This should be the most robust way of figuring this out, and is rather
easy with CMake.
CMakeLists.txt