cmake: list_spaces_append_once fails with spaces in filename
authorDaniel Stenberg <daniel@haxx.se>
Sun, 4 Mar 2012 22:43:29 +0000 (23:43 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Mar 2012 21:42:17 +0000 (22:42 +0100)
commitede9ad43fc014bec0c7bd79edad18668a03aea73
treef22df91a0d8302680fb313c848009c7d50db7da0
parent0c8e36c18afc18b2de4c345c70828cf545a8715b
cmake: list_spaces_append_once fails with spaces in filename

Windows standard libraries are located in C:/Program Files/Microsoft
SDKs/[...]. They are already included in the default MSVC
LIBPATH. Hence, find_library(WSOCK32_LIBRARY wsock32) and
find_library(WS2_32_LIBRARY ws2_32) are not needed. They return the full
path to the libraries including spaces. Of course,
list_spaces_append_once will mangle the result and the build fails.

Bug: http://curl.haxx.se/bug/view.cgi?id=3494968
CMakeLists.txt