From 55ed08abe52459f252d8150a4ce342073de4d80b Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Mon, 10 May 2021 15:25:47 +0200 Subject: [PATCH] cmake: lower minimum required version to 3.15 Version 3.15 introduces the _KEYWORDS_MISSING_VALUES of the cmake_parse_arguments() function, which is used in generate_g1a() and generate_g3a(), so there is no way to bring it further down for free. --- CMakeLists.txt | 2 +- fxsdk/assets/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 174188d..eed7691 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # Build system for the fxSDK -cmake_minimum_required(VERSION 3.16) +cmake_minimum_required(VERSION 3.15) project(fxSDK VERSION 2.4.0 LANGUAGES C) option(FXLINK_DISABLE_UDISKS2 "Do not build the UDisks2-based features of fxlink") diff --git a/fxsdk/assets/CMakeLists.txt b/fxsdk/assets/CMakeLists.txt index 25fd95d..458af89 100644 --- a/fxsdk/assets/CMakeLists.txt +++ b/fxsdk/assets/CMakeLists.txt @@ -1,7 +1,7 @@ # Configure with [fxsdk build-fx] or [fxsdk build-cg], which provide the # toolchain file and module path of the fxSDK -cmake_minimum_required(VERSION 3.18) +cmake_minimum_required(VERSION 3.15) project(MyAddin) include(GenerateG1A)