From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 035D4138334 for ; Sat, 16 Nov 2019 23:18:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43E85E0819; Sat, 16 Nov 2019 23:18:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D0B8E0819 for ; Sat, 16 Nov 2019 23:18:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44D7734CEDA for ; Sat, 16 Nov 2019 23:18:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DD6685C for ; Sat, 16 Nov 2019 23:18:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1573942627.ac6358feb34c2ef7adf855a2d931f681f267c167.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ac6358feb34c2ef7adf855a2d931f681f267c167 X-VCS-Branch: master Date: Sat, 16 Nov 2019 23:18:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c75558be-5fa8-4815-a01d-e35fac591224 X-Archives-Hash: 05ca1fe50830470b38fc44e820fd1a21 commit: ac6358feb34c2ef7adf855a2d931f681f267c167 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Nov 16 22:16:27 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Nov 16 22:17:07 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ac6358fe cmake-utiles.eclass: Add cmake_use_find_package Alias for cmake-utils_use_find_package Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/cmake-utils.eclass | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index e7a48116da..b022599232 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -338,6 +338,18 @@ cmake-utils_use_find_package() { _cmake_use_me_now_inverted CMAKE_DISABLE_FIND_PACKAGE_ "$@" ; } +# @FUNCTION: cmake_use_find_package +# @USAGE: +# @DESCRIPTION: +# Alias for cmake-utils_use_find_package. +cmake_use_find_package() { + if [[ "$#" != 2 ]] ; then + die "Usage: cmake_use_find_package " + fi + + cmake-utils_use_find_package "$@" ; +} + # @FUNCTION: cmake-utils_use_disable # @USAGE: [flag name] # @DESCRIPTION: