From commits-return-22134-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Sat Feb 9 01:49:43 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F0DF418060E for ; Sat, 9 Feb 2019 02:49:42 +0100 (CET) Received: (qmail 14317 invoked by uid 500); 9 Feb 2019 01:49:42 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 14308 invoked by uid 99); 9 Feb 2019 01:49:42 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2019 01:49:42 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 9349481F01; Sat, 9 Feb 2019 01:49:41 +0000 (UTC) Date: Sat, 09 Feb 2019 01:49:41 +0000 To: "commits@pulsar.apache.org" Subject: [pulsar] branch master updated: CPP Client - Only require linking with Boost program_options for CLI tools (#3546) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <154967698131.28246.665037305803188882@gitbox.apache.org> From: jai1@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: pulsar X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c40bb08f7e00b6e9dca2ca5f1a0a321113aab9a7 X-Git-Newrev: 98a7d6a4c1c98f059844d955805d9dbdcf15408e X-Git-Rev: 98a7d6a4c1c98f059844d955805d9dbdcf15408e X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. jai1 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pulsar.git The following commit(s) were added to refs/heads/master by this push: new 98a7d6a CPP Client - Only require linking with Boost program_options for CLI tools (#3546) 98a7d6a is described below commit 98a7d6a4c1c98f059844d955805d9dbdcf15408e Author: Matteo Merli AuthorDate: Fri Feb 8 17:49:36 2019 -0800 CPP Client - Only require linking with Boost program_options for CLI tools (#3546) --- pulsar-client-cpp/CMakeLists.txt | 1 - pulsar-client-cpp/perf/CMakeLists.txt | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pulsar-client-cpp/CMakeLists.txt b/pulsar-client-cpp/CMakeLists.txt index 1a7c73a..6a9261e 100644 --- a/pulsar-client-cpp/CMakeLists.txt +++ b/pulsar-client-cpp/CMakeLists.txt @@ -207,7 +207,6 @@ include_directories( set(COMMON_LIBS ${COMMON_LIBS} -lpthread -lm - ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_REGEX_LIBRARY} ${Boost_SYSTEM_LIBRARY} ${CURL_LIBRARY_PATH} diff --git a/pulsar-client-cpp/perf/CMakeLists.txt b/pulsar-client-cpp/perf/CMakeLists.txt index b3c8dc8..25fb076 100644 --- a/pulsar-client-cpp/perf/CMakeLists.txt +++ b/pulsar-client-cpp/perf/CMakeLists.txt @@ -31,5 +31,7 @@ set(PERF_CONSUMER_SOURCES add_executable(perfProducer ${PERF_PRODUCER_SOURCES}) add_executable(perfConsumer ${PERF_CONSUMER_SOURCES}) -target_link_libraries(perfProducer pulsarShared ${CLIENT_LIBS}) -target_link_libraries(perfConsumer pulsarShared ${CLIENT_LIBS}) +set(TOOL_LIBS ${CLIENT_LIBS} ${Boost_PROGRAM_OPTIONS_LIBRARY}) + +target_link_libraries(perfProducer pulsarShared ${TOOL_LIBS}) +target_link_libraries(perfConsumer pulsarShared ${TOOL_LIBS})