diff options
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 |