FindOpenSSL.cmake fails on Win32 -_-
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 11 Jun 2008 09:22:44 +0000 (11:22 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 11 Jun 2008 09:22:44 +0000 (11:22 +0200)
CMakeLists.txt

index e5a6f44..ee39a48 100644 (file)
@@ -115,7 +115,7 @@ endif(DEFINED STATIC)
 if(STATICWIN AND WIN32)
   link_libraries(imm32 winmm)  # missing by default :/
    if(OPENSSL_FOUND)
 if(STATICWIN AND WIN32)
   link_libraries(imm32 winmm)  # missing by default :/
    if(OPENSSL_FOUND)
-     link_libraries(${OPENSSL_LIBRARIES})  # not sure if we need it in here
+     link_libraries(${OPENSSL_LIBRARIES} libeay32MD)
    endif(OPENSSL_FOUND)
 endif(STATICWIN AND WIN32)
 
    endif(OPENSSL_FOUND)
 endif(STATICWIN AND WIN32)