X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=3bebf6833ab306888afd0c25eb89969c30d46f2f;hp=26a3e9a4c447b31ab9e723ef3a15923d2022b81d;hb=0c4e4a4703c0189518e71b2aad871d8dd7ba0741;hpb=ad4415fe8e9d021d17442da1081f426718638c41 diff --git a/CMakeLists.txt b/CMakeLists.txt index 26a3e9a4..3bebf683 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ set(LINGUAS "" CACHE STRING "Comma-separated list of locales specifying language # Some settings imply others if(STATIC) + add_definitions(-DSTATIC) set(WITH_KDE OFF CACHE BOOL "Static building with KDE is not supported") endif(STATIC) @@ -248,7 +249,7 @@ endif(STATIC AND CMAKE_COMPILER_IS_GNUCXX) if(WIN32) #if(STATIC) - link_libraries(imm32 winmm dbghelp) # missing by default :/ + link_libraries(imm32 winmm dbghelp Secur32) # missing by default :/ #endif(STATIC) if(HAVE_SSL) link_libraries(${OPENSSL_LIBRARIES} libeay32MD)