projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweak URL regex
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
4a6cfa8
..
0f8a87a
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-290,9
+290,10
@@
endif(STATIC AND CMAKE_COMPILER_IS_GNUCXX)
if(WIN32)
link_libraries(imm32 winmm dbghelp Secur32) # missing by default :/
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)
link_libraries(${OPENSSL_LIBRARIES} libeay32MD)
- endif(HAVE_SSL)
+ endif(HAVE_SSL
AND STATIC
)
endif(WIN32)
if(INDICATEQT_FOUND)
endif(WIN32)
if(INDICATEQT_FOUND)