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

mgrigorov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new 8fed1dbea AVRO-3958: [C] Update min cmake version to 3.5 (#2796)
8fed1dbea is described below

commit 8fed1dbeae62d164c111488154a42e26aa4cbe75
Author: Sahil Kang <[email protected]>
AuthorDate: Mon Mar 11 04:51:27 2024 -0700

    AVRO-3958: [C] Update min cmake version to 3.5 (#2796)
    
    We don't use older cmake features and this removes the following warning:
    
      CMake Deprecation Warning at CMakeLists.txt:19 (cmake_minimum_required):
        Compatibility with CMake < 3.5 will be removed from a future version of
        CMake.
    
        Update the VERSION argument <min> value or use a ...<max> suffix to tell
        CMake that the project does not need compatibility with older versions.
    
    Signed-off-by: Sahil Kang <[email protected]>
    Signed-off-by: Sahil Kang <[email protected]>
---
 lang/c/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/c/CMakeLists.txt b/lang/c/CMakeLists.txt
index 9c7ad21b5..123676b3d 100644
--- a/lang/c/CMakeLists.txt
+++ b/lang/c/CMakeLists.txt
@@ -16,7 +16,7 @@
 # specific language governing permissions and limitations
 # under the License.
 #
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
 project(AvroC C)
 enable_testing()
 

Reply via email to