From commits-return-22344-archive-asf-public=cust-asf.ponee.io@logging.apache.org Thu Jun 25 07:30:37 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A5EF7180181 for ; Thu, 25 Jun 2020 09:30:37 +0200 (CEST) Received: (qmail 39241 invoked by uid 500); 25 Jun 2020 07:30:37 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 39232 invoked by uid 99); 25 Jun 2020 07:30:37 -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; Thu, 25 Jun 2020 07:30:37 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 9ABDC890B8; Thu, 25 Jun 2020 07:30:36 +0000 (UTC) Date: Thu, 25 Jun 2020 07:30:36 +0000 To: "commits@logging.apache.org" Subject: [logging-log4cxx] branch master updated: reorder find_package to build SO correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <159307023639.29059.13863176942890591987@gitbox.apache.org> From: tschoening@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: logging-log4cxx X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: e8ccbb2348147fc8864f09c23b64cbad01118c0f X-Git-Newrev: 229106fd7ce99452501bd8406bd653793c756f69 X-Git-Rev: 229106fd7ce99452501bd8406bd653793c756f69 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. tschoening pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git The following commit(s) were added to refs/heads/master by this push: new 229106f reorder find_package to build SO correctly 229106f is described below commit 229106fd7ce99452501bd8406bd653793c756f69 Author: Robert Middleton AuthorDate: Tue Jun 23 20:37:10 2020 -0400 reorder find_package to build SO correctly --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc26ae6..2757cfe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,18 +6,18 @@ include(CTest) # FindAPR and FindAPR-util are not provided by APR and APR-Util so source them locally list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/src/cmake") -# Find Apache Runtime -find_package(APR REQUIRED) - -# Find Apache Runtime Utilities -find_package(APR-Util REQUIRED) - # Add support for linking statically option(BUILD_SHARED_LIBS "Build shared libraries" ON) if(NOT BUILD_SHARED_LIBS) set(LOG4CXX_COMPILE_DEFINITIONS LOG4CXX_STATIC) endif() +# Find Apache Runtime +find_package(APR REQUIRED) + +# Find Apache Runtime Utilities +find_package(APR-Util REQUIRED) + # Building add_subdirectory(src)