https://github.com/Kitware/CMake
Revision d384b5aa7bcc4853af1b5993a5054a8c387d1f6a authored by Flynn Marquardt on 02 December 2013, 15:16:34 UTC, committed by Brad King on 02 December 2013, 15:17:31 UTC
On posix platforms return values are limited to a range from 0 to 255.
Cross compiling/linking with MSVC on linux/wine leads to a
misinterpretation of the return value 1090650113 of mt.exe.
1 parent b80ef72
Raw File
Tip revision: d384b5aa7bcc4853af1b5993a5054a8c387d1f6a authored by Flynn Marquardt on 02 December 2013, 15:16:34 UTC
cmake: Fix mt return value when hosted on posix (#14605)
Tip revision: d384b5a
cm_curl.h
/*============================================================================
  CMake - Cross Platform Makefile Generator
  Copyright 2000-2009 Kitware, Inc., Insight Software Consortium

  Distributed under the OSI-approved BSD License (the "License");
  see accompanying file Copyright.txt for details.

  This software is distributed WITHOUT ANY WARRANTY; without even the
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the License for more information.
============================================================================*/
#ifndef __cm_curl_h
#define __cm_curl_h

/* Use the curl library configured for CMake.  */
#include "cmThirdParty.h"
#ifdef CMAKE_USE_SYSTEM_CURL
# include <curl/curl.h>
#else
# include <cmcurl/curl/curl.h>
#endif

#endif
back to top