cmake: find winsock when building on windows
authorDaniel Stenberg <daniel@haxx.se>
Sat, 13 Aug 2011 12:40:01 +0000 (14:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 13 Aug 2011 12:42:21 +0000 (14:42 +0200)
commit40afeea2fbfd93b8189b9b1606735c3ea578753d
treee892ab8fc31bac40af6a2d050f7c3a28577a680d
parente40c663d36af128890f878bfce780a45bf2158a5
cmake: find winsock when building on windows

When building on Windows, with CMake and mingw, curl fails to compile
because the CMake build system is not properly looking for the Winsock
libraries

Patch by: Pau Garcia i Quiles
Bug: http://curl.haxx.se/bug/view.cgi?id=3389231
CMakeLists.txt