X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=7fdc6fdbe1d12addc4f7e9b755bdc294811ee960;hp=64409ef93d898169305a9e546c3ffcc85a4294a1;hb=5736e6f3ac874aa05cdc87706471e37f7ab6fffc;hpb=3006bf7e7daf1c59b39600b198d746559aaa3bef diff --git a/CMakeLists.txt b/CMakeLists.txt index 64409ef9..7fdc6fdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,6 +218,12 @@ else(WITH_KDE) message(STATUS "Not enabling KDE4 integration") endif(WITH_KDE) +# needed to compile with mingw without kde +if(MINGW AND NOT HAVE_KDE) + add_definitions(-D_WIN32_WINNT=0x0500) + message(STATUS "Added _WIN32_WINNT=0x0500 definition for MinGW") +endif(MINGW AND NOT HAVE_KDE) + # Setup Phonon support - we only need this if we don't have or want KDE4 if(NOT HAVE_KDE) if(WITH_PHONON)