X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=4baf76a1f1c4a46fe2f4d872fd4c07ef8a209035;hp=7fdc6fdbe1d12addc4f7e9b755bdc294811ee960;hb=4476cfb22f36ad9ba96e4978c3bcce1c2f6b5a04;hpb=5736e6f3ac874aa05cdc87706471e37f7ab6fffc diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fdc6fdb..4baf76a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,7 +221,9 @@ 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") + message(STATUS "Added _WIN32_WINNT=0x0500 definition for MinGW") +# workaround for bug in mingw gcc 4.0 + add_definitions(-U__STRICT_ANSI__) endif(MINGW AND NOT HAVE_KDE) # Setup Phonon support - we only need this if we don't have or want KDE4 @@ -300,7 +302,7 @@ if(WIN32) endif(MSVC) if(HAVE_SSL AND STATIC) find_package(OpenSSL REQUIRED) - link_libraries(${OPENSSL_LIBRARIES}) + link_libraries(${OPENSSL_LIBRARIES} ${OPENSSL_EAY_LIBRARIES}) endif(HAVE_SSL AND STATIC) endif(WIN32)