diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-11-19 12:01:13 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-11-20 22:24:29 -0500 |
commit | d50f4afc7e5640990ea90f71249904bb45a0bb9c (patch) | |
tree | 44dddf21b7dfa2e1af1dfbaaafd11d3507d40367 | |
parent | 1c8321566a13c622832461efded53d8b533469e7 (diff) |
build: set zmk_config.cmake cmake_minimum_required to VERSION 3.15
3.15 is the minimum version required to facilitate list(PREPEND) used within zmk_config.cmake.
https://cmake.org/cmake/help/v3.15/command/list.html
Fixes #402
-rw-r--r-- | app/cmake/zmk_config.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/cmake/zmk_config.cmake b/app/cmake/zmk_config.cmake index 017dd11..145352a 100644 --- a/app/cmake/zmk_config.cmake +++ b/app/cmake/zmk_config.cmake @@ -5,6 +5,8 @@ # * single overlay, # * or per board/shield. +cmake_minimum_required(VERSION 3.15) + get_property(cached_user_config_value CACHE ZMK_CONFIG PROPERTY VALUE) set(user_config_cli_argument ${cached_user_config_value}) # Either new or old |