From patchwork Mon Feb 3 14:27:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1232804 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=H/i/jd9h; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48B9CT5znDz9sPK for ; Tue, 4 Feb 2020 01:27:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4BA5485329; Mon, 3 Feb 2020 14:27:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3G1HCLc3AdkY; Mon, 3 Feb 2020 14:27:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5D278853E3; Mon, 3 Feb 2020 14:27:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 66C841BF36A for ; Mon, 3 Feb 2020 14:27:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 62A6D20025 for ; Mon, 3 Feb 2020 14:27:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pXBy0WR-setj for ; Mon, 3 Feb 2020 14:27:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by silver.osuosl.org (Postfix) with ESMTPS id 4BF1E20022 for ; Mon, 3 Feb 2020 14:27:43 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id m10so31897wmc.0 for ; Mon, 03 Feb 2020 06:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ViMc2zVSk0NLaQWMbxjEianGk+dwglwdNFHdBilGtJ0=; b=H/i/jd9hE9Ao80cpfuOAGIDHz5GWgeDhXUGqkaDBnM2VBz6DvIiKI1n61aaOy2ofos URHqnVWKdEkf6rlNOIqwFCtw1WGwuIW4MOBFFxCXjl4HwRkBlXEiV3XAfamGIa7WKkrY VfDXecf+8t5mbUaiFPd4N09j+GQ+NJigQhxL46CjSotZPqEqlRAKyQN40OJaKjrNYANm foz8NgUjOEGpmroItUFf5RW/vo24dWCDRCHN1rvhkA5r5YIvYOFk22apXMh5JwkP7FzK 9BYIZYEvI6o+WkfoCWirG5VMgO8DtmQgpyXpTQJ0mar0CCUsWOzrebCKrOgOqAYPSiNt g5+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ViMc2zVSk0NLaQWMbxjEianGk+dwglwdNFHdBilGtJ0=; b=DYH6joj04AsTqPSdLxCAsRynCZbSHoPSVFwazxQCZ8svhpQCWEhNIn5suOcKXB1UUQ JG4Me1zcgNPBB+jkDjKBHCmbY36Ycku9cRevkcg1f5HvYa7skSw4g7xKFSqBF+w4jYJq m5dRFhm5GQ0a3qCVg/DYr1cRlAb+KB2B5m4cArhE66wj7OcrSuXzxO2CLVhNLiOjTeYu JxGWoUhPYAROwZRV92DhWm3JWX5R1kGRdrIoiTXjF4lu3/X0Gq364q/dRX71qdWcZY6g yjIzjlRVR66i/5+WZ2uIvFUxYdf3vkFdAHv5h1+JTjt7yPWKpkHD7GzkvfcJJDdg0t2g 00qA== X-Gm-Message-State: APjAAAUDBTkv1HQxFnJPFfzAwwAm2Vyt+EvRB4uibMgL2cM8zPrQ5Dbp 8StePDF8/TKd1oqO109YgirbHht8X6o= X-Google-Smtp-Source: APXvYqzQxuzWhK1CQwBGzmsoimS9HhlEizcp3hWJbfB1WhKdzijTl7tPlSsW8ZYAbjqkfUWAnSrc9g== X-Received: by 2002:a1c:151:: with SMTP id 78mr28154462wmb.182.1580740061203; Mon, 03 Feb 2020 06:27:41 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:66f4:6a26:7bb5:b9ee]) by smtp.gmail.com with ESMTPSA id w26sm22878428wmi.8.2020.02.03.06.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2020 06:27:40 -0800 (PST) From: Adam Duskett To: buildroot@buildroot.org Date: Mon, 3 Feb 2020 06:27:38 -0800 Message-Id: <20200203142738.1558715-1-aduskett@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] set minimum cmake version to 3.10 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Le Bihan , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The CMakeLists.txt file uses the CMP0091 which is an MSVC runtime library flag abstraction macro. Because we are not building ninja for Microsoft, it is safe to remove this macro and set the minimum version to 3.10. Fixes: http://autobuild.buildroot.net/results/992b34c5625ec733d8dce678aa7a7540c4768ca1 Signed-off-by: Adam Duskett --- ...01-set-minimum-cmake-version-to-3.10.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/ninja/0001-set-minimum-cmake-version-to-3.10.patch diff --git a/package/ninja/0001-set-minimum-cmake-version-to-3.10.patch b/package/ninja/0001-set-minimum-cmake-version-to-3.10.patch new file mode 100644 index 0000000000..d75b78fde9 --- /dev/null +++ b/package/ninja/0001-set-minimum-cmake-version-to-3.10.patch @@ -0,0 +1,30 @@ +From 4645f74eb668cc1cf876d1e9bef933591da7575c Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 3 Feb 2020 06:21:57 -0800 +Subject: [PATCH] set minimum cmake version to 3.10 + +The CMakeLists.txt file uses the CMP0091 which is an MSVC runtime library flag +abstraction macro. + +Because we are not building ninja for Microsoft, it is safe to remove this +macro and set the minimum version to 3.10. + +Signed-off-by: Adam Duskett +--- + CMakeLists.txt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 60fd8a1..a040e0b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,5 +1,4 @@ +-cmake_minimum_required(VERSION 3.15) +-cmake_policy(SET CMP0091 NEW) ++cmake_minimum_required(VERSION 3.10) + project(ninja) + + if(CMAKE_BUILD_TYPE MATCHES "Release") +-- +2.24.1 +