Blob Blame History Raw
From: Lee Duncan <lduncan@suse.com>
Date: Wed 07 Feb 2024 11:41:29 AM PST
Subject: [PATCH] target-isns: handle newer cmake
Patch-mainline: Submitted 2/7/2024

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f46144d23eaa..aa7b986603a8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,10 +5,11 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
+cmake_minimum_required(VERSION 3.5)
+
 project(target-isns "C")
 set(TARGET_ISNS_VERSION "0.6.8")
 
-cmake_minimum_required(VERSION 3.1)
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
 
 option(SUPPORT_SYSTEMD "Support service control via systemd" OFF)