diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-12-21 21:42:32 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-12-21 21:42:32 (GMT) |
commit | 5aad7bf2d4d9c5fdf15e56c943ca66986e9e68e9 (patch) | |
tree | 522b51f5364e1bffd0152a064911cf33f9d88926 /Source/cmSystemTools.cxx | |
parent | c424267cc1c4462554f4f99387a8a3347ea593a2 (diff) | |
download | CMake-5aad7bf2d4d9c5fdf15e56c943ca66986e9e68e9.zip CMake-5aad7bf2d4d9c5fdf15e56c943ca66986e9e68e9.tar.gz CMake-5aad7bf2d4d9c5fdf15e56c943ca66986e9e68e9.tar.bz2 |
Make new web api safe for bootstrap build.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 5a0dafc..b5cd1ab 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -2942,6 +2942,7 @@ HTTPResponseCallback(void *ptr, size_t size, size_t nmemb, void *data) return realsize; } +#ifdef CMAKE_BUILD_WITH_CMAKE //---------------------------------------------------------------------------- int cmSystemTools::HTTPRequest(std::string url, HTTPMethod method, std::string& response, @@ -2977,3 +2978,4 @@ int cmSystemTools::HTTPRequest(std::string url, HTTPMethod method, return static_cast<int>(res); } +#endif |