diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 18:52:42 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-04 18:52:42 (EDT) |
commit | 743f8b970babcc46bb6920222b44d359a27f6876 (patch) | |
tree | 15708a03c4a51a19e3bb39d659454a5485188930 /patches | |
parent | b46bd5a40a62669d3d39e12fefb73d5b5e022332 (diff) |
patches: Fix CMake OPTION() syntax
Fixes:
CMake Warning:
Manually-specified variables were not used by the project:
REQUIRE_UPGRADE_ARGS
Diffstat (limited to 'patches')
-rw-r--r-- | patches/0002-cli-Optionally-enforce-argument-to-upgrade-command.patch | 6 |
1 files changed, 3 insertions, 3 deletions
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 <patrick.mcdermott@libiquity.com> 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 <patrick.mcdermott@libiquity.com> 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}") |