X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=da59dbdb602892868ce8a5e0bed125310b245fe2;hp=be6493cb305e5cab91f6d9534581e9f12e2694b7;hb=a06b72f5cc0ff48e7f00de7a7e45ee11c2bba16b;hpb=480eab8daec4fb56a6886918c6a913cc197330f1 diff --git a/CMakeLists.txt b/CMakeLists.txt index be6493cb..da59dbdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ # : select binaries to build # -DWITH_OPENSSL=OFF : Disable OpenSSL support # -DWITH_DBUS=OFF : Disable D-Bus support +# -DWITH_WEBKIT=OFF : Disable WebKit support # -DOXYGEN_ICONS=(Builtin|External) : If "Builtin" (the default), compile our Oxygen Icon Theme subset into the binary # : If "External", we assume Oxygen is already installed on the system # -DQUASSEL_ICONS=(Builtin|External) : If "Builtin" (the default), put our own icons into the binary @@ -161,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