aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-06 22:34:44 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-06 22:34:44 +0200
commit26728d94fe8390ecb7a7e88d964da54475357258 (patch)
tree34afc81d2fbb536c6275bc3bf1dea2a55db2e2f0 /CMakeLists.txt
parentfix for mingw not playing nicely with libunbound configure, fix for correctly... (diff)
downloadmonero-26728d94fe8390ecb7a7e88d964da54475357258.tar.xz
mingw library tweaks
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cdfb7d141..78e4b426f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -213,10 +213,7 @@ endif()
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
if(MINGW)
- find_library(PTHREAD pthread)
- find_library(MSWSOCK mswsock)
- find_library(WS2_32 ws2_32)
- set(EXTRA_LIBRARIES ${PTHREAD} ${MSWSOCK} ${WS2_32})
+ set(EXTRA_LIBRARIES pthread;mswsock;ws2_32)
elseif(APPLE OR FREEBSD)
set(EXTRA_LIBRARIES "")
elseif(NOT MSVC)