projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab66db1
)
Fix static linking of OpenSSL on Win32
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 13 Jan 2010 22:12:27 +0000
(23:12 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sun, 17 Jan 2010 20:58:36 +0000
(21:58 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
7ef379a
..
1cd9ece
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-291,9
+291,10
@@
endif(STATIC AND CMAKE_COMPILER_IS_GNUCXX)
if(WIN32)
link_libraries(imm32 winmm dbghelp Secur32) # missing by default :/
- if(HAVE_SSL)
+ if(HAVE_SSL AND STATIC)
+ find_package(OpenSSL REQUIRED)
link_libraries(${OPENSSL_LIBRARIES} libeay32MD)
- endif(HAVE_SSL)
+ endif(HAVE_SSL
AND STATIC
)
endif(WIN32)
if(INDICATEQT_FOUND)