From 65997bc74845ca7f754d3e89a7977923cbaa8bfe Mon Sep 17 00:00:00 2001 From: Simon Hyll Date: Wed, 13 Nov 2024 17:54:30 +0100 Subject: [PATCH] c: Requiring atleast version 3.5 of cMake 3.5 CMake will be deprecated soon, and the version should be set before the project in order to avoid a warning --- c/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt index a1bc4bde3..a3c61909a 100644 --- a/c/CMakeLists.txt +++ b/c/CMakeLists.txt @@ -1,5 +1,5 @@ -PROJECT(gherkin C) -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.5) +project(gherkin C) enable_testing() # Install library & headers in your directory