From 1ea5b1e744199a2f320ced820f557d3aa88afb5f Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 23 Jul 2023 21:08:09 +0200 Subject: [PATCH] Avoid CMake deprecation warning by bumping version --- CMakeLists.txt | 2 +- generator/CMakeLists.txt | 2 +- lib/CMakeLists.txt | 2 +- lib/cmake/modules/ReflectionGenerator.cmake | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7596e0e..eb5751e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # set metadata project(reflective_rapidjson) diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt index 516fe99..00e5e61 100644 --- a/generator/CMakeLists.txt +++ b/generator/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # metadata set(META_PROJECT_NAME reflective_rapidjson_generator) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 7ff73cb..38dea4d 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # metadata set(META_PROJECT_TYPE library) diff --git a/lib/cmake/modules/ReflectionGenerator.cmake b/lib/cmake/modules/ReflectionGenerator.cmake index fc6bd19..ba7a57e 100644 --- a/lib/cmake/modules/ReflectionGenerator.cmake +++ b/lib/cmake/modules/ReflectionGenerator.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.17.0 FATAL_ERROR) # prevent multiple inclusion if (DEFINED REFLECTION_GENERATOR_MODULE_LOADED)