projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1cb4bf5
)
Fix linking for MSVC
author
Patrick von Reth
<patrick.vonreth@gmail.com>
Mon, 1 Feb 2010 08:10:53 +0000
(09:10 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 16 Feb 2010 10:50:42 +0000
(11:50 +0100)
Added some missing library linking to msvc build, removed linking against
libeay32MD because its already in ${OPENSSL_LIBRARIES}
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
0f8a87a
..
64409ef
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-289,10
+289,12
@@
endif(STATIC AND CMAKE_COMPILER_IS_GNUCXX)
if(WIN32)
link_libraries(imm32 winmm dbghelp Secur32) # missing by default :/
-
+ if(MSVC)
+ link_libraries(Version dwmapi shlwapi)
+ endif(MSVC)
if(HAVE_SSL AND STATIC)
find_package(OpenSSL REQUIRED)
- link_libraries(${OPENSSL_LIBRARIES}
libeay32MD
)
+ link_libraries(${OPENSSL_LIBRARIES})
endif(HAVE_SSL AND STATIC)
endif(WIN32)