From e12d1dee726099cd135081227106a45df1e149e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Gro=C3=9F?= Date: Fri, 26 Jul 2024 12:07:37 +0200 Subject: [PATCH] Remove redundant cmake policy CMP0048 Instead bump the cmake version. --- CMakeLists.txt | 3 +-- src/getopts.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a2bcee7..f46c366 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required(VERSION 3.21) -cmake_policy(SET CMP0048 NEW) +cmake_minimum_required(VERSION 3.30) project(blobdrop VERSION 2.1 DESCRIPTION "Drag and drop files directly out of the terminal") option(BUILD_TESTING "Build the testing tree.") diff --git a/src/getopts.cpp b/src/getopts.cpp index 6b05284..3dd99d8 100644 --- a/src/getopts.cpp +++ b/src/getopts.cpp @@ -46,7 +46,7 @@ bool parse(const QStringList &args) { "Do not auto-hide the window while dragging."); QCommandLineOption prefix_opt(QStringList() << "P" << "prefix", - "Specify a remote prefix", + "Specify a remote prefix.", "prefix"); QCommandLineOption remote_opt(QStringList() << "R" << "remote",