projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FindOpenSSL.cmake fails on Win32 -_-
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
e1b2427
..
ee39a48
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-55,6
+55,7
@@
if(SPUTDEV)
add_definitions(-DSPUTDEV)
endif(SPUTDEV)
add_definitions(-DSPUTDEV)
endif(SPUTDEV)
+# Set up OpenSSL
find_package(OpenSSL)
# Select a Qt installation here, if you don't want to use system Qt
find_package(OpenSSL)
# Select a Qt installation here, if you don't want to use system Qt
@@
-113,9
+114,9
@@
endif(DEFINED STATIC)
if(STATICWIN AND WIN32)
link_libraries(imm32 winmm) # missing by default :/
if(STATICWIN AND WIN32)
link_libraries(imm32 winmm) # missing by default :/
- if(OPENSSL_FOUND)
-
link_libraries(libeay32MD ssl
eay32MD)
- endif(OPENSSL_FOUND)
+
if(OPENSSL_FOUND)
+
link_libraries(${OPENSSL_LIBRARIES} lib
eay32MD)
+
endif(OPENSSL_FOUND)
endif(STATICWIN AND WIN32)
if(WIN32)
endif(STATICWIN AND WIN32)
if(WIN32)