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