Skip to content

Commit 7aa7ee9

Browse files
committed
Revert "Remove redundant cmake policy CMP0048"
This reverts commit e12d1de. NixOS doesn't have cmake 3.30 yet, let's revert this for now.
1 parent e12d1de commit 7aa7ee9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
cmake_minimum_required(VERSION 3.30)
1+
cmake_minimum_required(VERSION 3.21)
2+
cmake_policy(SET CMP0048 NEW)
23
project(blobdrop VERSION 2.1 DESCRIPTION "Drag and drop files directly out of the terminal")
34

45
option(BUILD_TESTING "Build the testing tree.")

src/getopts.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ bool parse(const QStringList &args) {
4646
"Do not auto-hide the window while dragging.");
4747
QCommandLineOption prefix_opt(QStringList() << "P"
4848
<< "prefix",
49-
"Specify a remote prefix.",
49+
"Specify a remote prefix",
5050
"prefix");
5151
QCommandLineOption remote_opt(QStringList() << "R"
5252
<< "remote",

0 commit comments

Comments
 (0)