cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3413233 ] Library paths with spaces

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 23 Sep 2011 11:14:21 +0200

Bugs item #3413233, was opened at 2011-09-23 11:14
Message generated for change (Tracker Item Submitted) made by davidschneider2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3413233&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: portability problem
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: DSchneider (davidschneider2)
Assigned to: Daniel Stenberg (bagder)
Summary: Library paths with spaces

Initial Comment:
CMAKE_C_STANDARD_LIBRARIES holds a space-separated list of standard library which are automatic linked to every C target. Because the list holds only standard libraries there are all included in the default paths => no find_library is needed.

In curl version 7.22.0 paths to wsock32 and ws2_32 get found by find_library and are appended to space separated list CMAKE_C_STANDARD_LIBRARIES. Default installation of dotNet Framework SDK is something like "C:/Program Files/Microsoft SDKs" which contains spaces => the space separated list get "confused".

Solution: add only wsock32.lib ws2_32.lib to CMAKE_C_STANDARD_LIBRARIES as it was in curl-7_21_7

Curl version: 7.22.0
OS: Windows 64-bit
CMake version: 2.8.3

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3413233&group_id=976
Received on 2011-09-23

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET