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
This commit is contained in:
innovaker 2020-11-19 12:01:13 +00:00 committed by Pete Johanson
parent 1c8321566a
commit d50f4afc7e
1 changed files with 2 additions and 0 deletions

View File

@ -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