From 743f8b970babcc46bb6920222b44d359a27f6876 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 04 Apr 2019 18:52:42 -0400 Subject: patches: Fix CMake OPTION() syntax Fixes: CMake Warning: Manually-specified variables were not used by the project: REQUIRE_UPGRADE_ARGS --- diff --git a/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch b/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch index 68921af..16bf2cc 100644 --- a/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch +++ b/patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch @@ -1,4 +1,4 @@ -From f8a12d977714643785a1734c28e8bd546c55a442 Mon Sep 17 00:00:00 2001 +From 95f0c291b2008c0ba81b70fb6fa0e84a2cf56a27 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 4 Apr 2019 18:25:51 -0400 Subject: [PATCH] cli: Optionally enforce argument to upgrade command @@ -13,14 +13,14 @@ Signed-off-by: Patrick McDermott 3 files changed, 25 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 26230b3..75968b3 100644 +index 26230b3..50f29dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ SET(VERSION "" CACHE STRING "Override version") OPTION(STATIC_UBOX "Statically link libubox" OFF) OPTION(BUILD_TESTS "Build test programs" ON) OPTION(ENABLE_USIGN "Enable usign support" ON) -+OPTION(REQUIRE_UPGRADE_ARGS "Require argument(s) to upgrade command" ON) ++OPTION(REQUIRE_UPGRADE_ARGS "Require arguments to upgrade command" ON) IF(NOT HOST_CPU) SET(HOST_CPU "${CMAKE_HOST_SYSTEM_PROCESSOR}") -- cgit v0.9.1