From a44c6e8b59393467fb99eb5b94372fb7a462b60a Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 24 Apr 2019 01:30:22 +0200 Subject: [PATCH] Remove detection of curl since it is not really needed --- CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ce5e4ca8..865a04e2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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