Remove detection of curl since it is not really needed

This commit is contained in:
Carles Fernandez 2019-04-24 01:30:22 +02:00
parent fa4460038e
commit a44c6e8b59
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 1 additions and 7 deletions

View File

@ -1940,13 +1940,7 @@ if((NOT Protobuf_FOUND) OR (NOT Protobuf_PROTOC_EXECUTABLE) OR (${Protobuf_VERSI
message(FATAL_ERROR "aclocal is required to build Protocol Buffers from source")
endif()
endif()
find_package(CURL REQUIRED)
set_package_properties(CURL PROPERTIES
URL "https://curl.haxx.se/"
DESCRIPTION "Command line tool and library for transferring data with URLs"
PURPOSE "Required to build Protocol Buffers."
TYPE REQUIRED
)
set(PROTOBUF_MAKE_PROGRAM ${CMAKE_MAKE_PROGRAM})
if(PROTOBUF_MAKE_PROGRAM MATCHES "ninja")
find_program(MAKE_EXECUTABLE make