summarylogtreecommitdiffstats
path: root/libcurl.patch
blob: fec517978523ad3471e5cdef41d878fcf9d313e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*** src/Native/Unix/System.Net.Http.Native/CMakeLists.txt.orig	2017-05-04 21:14:29.817439384 -0700
--- src/Native/Unix/System.Net.Http.Native/CMakeLists.txt	2017-05-04 21:14:43.417017513 -0700
***************
*** 1,9 ****
  project(System.Net.Http.Native)
  
! find_package(CURL)
! if(NOT CURL_FOUND)
!     message(FATAL_ERROR "!!! Cannot find libcurl and System.Net.Http.Native cannot build without it. Try installing libcurl4-openssl-dev (or the appropriate package for your platform) !!!")
! endif(NOT CURL_FOUND)
  
  if(CMAKE_STATIC_LIB_LINK)
      find_library(CURL_STATIC_LIB NAMES libcurl.a)
--- 1,9 ----
  project(System.Net.Http.Native)
  
! #find_package(CURL)
! #if(NOT CURL_FOUND)
! #    message(FATAL_ERROR "!!! Cannot find libcurl and System.Net.Http.Native cannot build without it. Try installing libcurl4-openssl-dev (or the appropriate package for your platform) !!!")
! #endif(NOT CURL_FOUND)
  
  if(CMAKE_STATIC_LIB_LINK)
      find_library(CURL_STATIC_LIB NAMES libcurl.a)