From 8c201eb628feda82929cded14c22349f46142510 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 6 Jan 2026 18:12:23 +0100 Subject: [PATCH] fix cmake version ranges --- CMakeLists.txt | 2 +- external/CMakeLists.txt | 2 +- plugins/CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c788f61..c5ce12b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.24 FATAL_ERROR) +cmake_minimum_required(VERSION 3.18...3.24 FATAL_ERROR) # cmake setup begin project(solanaceae_toxic_games) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index d0d00de..8ab5aa7 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.24 FATAL_ERROR) +cmake_minimum_required(VERSION 3.18...3.24 FATAL_ERROR) include(FetchContent) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 912bbfb..00f3fad 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.24 FATAL_ERROR) +cmake_minimum_required(VERSION 3.18...3.24 FATAL_ERROR) add_library(plugin_toxic_games MODULE ./plugin_toxic_games.cpp diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 62713fb..c276771 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.24 FATAL_ERROR) +cmake_minimum_required(VERSION 3.18...3.24 FATAL_ERROR) if (OFF) add_library(toxic_games STATIC