X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=da59dbdb602892868ce8a5e0bed125310b245fe2;hp=9ac2d3085460a39bc04e71f2875f3ee64fe7389c;hb=39c9cfeeb71c0e39c4ed12eeead9d5d808895b6d;hpb=44d0e64ee4d953f2dab8e617b3ffa4bafdbe379b diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ac2d308..da59dbdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,12 +162,14 @@ if(STATIC AND CMAKE_COMPILER_IS_GNUCXX) endif(HAVE_SSL) endif(STATIC AND CMAKE_COMPILER_IS_GNUCXX) -if(STATIC AND WIN32) - link_libraries(imm32 winmm) # missing by default :/ - if(HAVE_SSL) +if(WIN32) + #if(STATIC) + link_libraries(imm32 winmm dbghelp) # missing by default :/ + #endif(STATIC) + if(HAVE_SSL) link_libraries(${OPENSSL_LIBRARIES} libeay32MD) - endif(HAVE_SSL) -endif(STATIC AND WIN32) + endif(HAVE_SSL) +endif(WIN32) if(WIN32) set(RC_WIN32 ../pics/win32.rc) # for app icons on windows