This is an automated email from the ASF dual-hosted git repository.

fgerlits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 708d42fb3148aa074f12480be966ed629299bf92
Author: Martin Zink <[email protected]>
AuthorDate: Wed Aug 5 13:52:07 2026 +0200

    MINIFICPP-2874 update cmake_minimum_version to 3.26
    
    Signed-off-by: Ferenc Gerlits <[email protected]>
---
 CMakeLists.txt                     | 2 +-
 README.md                          | 2 +-
 controller/CMakeLists.txt          | 2 +-
 extensions/ExtensionHeader.txt     | 3 +--
 libminifi/CMakeLists.txt           | 2 +-
 minifi_main/CMakeLists.txt         | 2 +-
 thirdparty/wil/cmake_version.patch | 4 ++--
 7 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 47993663f..d448f53fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-cmake_minimum_required(VERSION 3.25)
+cmake_minimum_required(VERSION 3.26)
 cmake_policy(SET CMP0096 NEW) # policy to preserve the leading zeros in 
PROJECT_VERSION_{MAJOR,MINOR,PATCH,TWEAK}
 cmake_policy(SET CMP0135 NEW) # policy to set the timestamps of extracted 
contents to the time of extraction
 
diff --git a/README.md b/README.md
index f70e0c2e4..3652cf8bf 100644
--- a/README.md
+++ b/README.md
@@ -120,7 +120,7 @@ Communicating with Apache NiFi can be done using the 
Site-to-Site protocol. More
 ### To build
 
 #### Utilities
-* CMake 3.25 or greater
+* CMake 3.26 or greater
 * Compiler
   * g++ 13 or greater
   * clang 18 or greater
diff --git a/controller/CMakeLists.txt b/controller/CMakeLists.txt
index 8b72fa974..13e732e5b 100644
--- a/controller/CMakeLists.txt
+++ b/controller/CMakeLists.txt
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-cmake_minimum_required(VERSION 3.25)
+cmake_minimum_required(VERSION 3.26)
 cmake_policy(SET CMP0135 NEW) # policy to set the timestamps of extracted 
contents to the time of extraction
 
 include_directories(../minifi_main/ ../libminifi/include  
../libminifi/include/c2  ../libminifi/include/c2/protocols/  
../libminifi/include/core/state 
./libminifi/include/core/statemanagement/metrics  
../libminifi/include/core/yaml  ../libminifi/include/core)
diff --git a/extensions/ExtensionHeader.txt b/extensions/ExtensionHeader.txt
index 216a4aeec..e97e0ff43 100644
--- a/extensions/ExtensionHeader.txt
+++ b/extensions/ExtensionHeader.txt
@@ -17,5 +17,4 @@
 # under the License.
 #
 
-cmake_minimum_required(VERSION 3.25)
-
+cmake_minimum_required(VERSION 3.26)
diff --git a/libminifi/CMakeLists.txt b/libminifi/CMakeLists.txt
index 3a0e74d2a..917c31e27 100644
--- a/libminifi/CMakeLists.txt
+++ b/libminifi/CMakeLists.txt
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-cmake_minimum_required (VERSION 3.25)
+cmake_minimum_required (VERSION 3.26)
 cmake_policy(SET CMP0096 NEW) # policy to preserve the leading zeros in 
PROJECT_VERSION_{MAJOR,MINOR,PATCH,TWEAK}
 cmake_policy(SET CMP0135 NEW) # policy to set the timestamps of extracted 
contents to the time of extraction
 project(nifi-libcore-minifi VERSION 1.0.0)
diff --git a/minifi_main/CMakeLists.txt b/minifi_main/CMakeLists.txt
index 77413e108..3248406fa 100644
--- a/minifi_main/CMakeLists.txt
+++ b/minifi_main/CMakeLists.txt
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-cmake_minimum_required(VERSION 3.25)
+cmake_minimum_required(VERSION 3.26)
 cmake_policy(SET CMP0135 NEW) # policy to set the timestamps of extracted 
contents to the time of extraction
 
 include_directories(../libminifi/include)
diff --git a/thirdparty/wil/cmake_version.patch 
b/thirdparty/wil/cmake_version.patch
index 970b2b58d..c4378bb49 100644
--- a/thirdparty/wil/cmake_version.patch
+++ b/thirdparty/wil/cmake_version.patch
@@ -4,7 +4,7 @@ index eb1f874..6f0a539 100644
 +++ b/CMakeLists.txt
 @@ -1,4 +1,4 @@
 -cmake_minimum_required(VERSION 3.29)
-+cmake_minimum_required(VERSION 3.25)
++cmake_minimum_required(VERSION 3.26)
  project(WIL)
- 
+
  include(GNUInstallDirs)

Reply via email to