diff options
author | Peter Johanson <peter@peterjohanson.com> | 2021-10-19 13:29:36 +0000 |
---|---|---|
committer | Peter Johanson <peter@peterjohanson.com> | 2021-10-19 13:29:36 +0000 |
commit | e6c815f1b0b1bae88a373fa0633e0e6d8db9cafd (patch) | |
tree | 3d8c999a7698d4c0a829d1793981490a0e322ba9 /app/cmake | |
parent | 0dc7d46eb16fcd654eaa9dc4c36fc39e8004e7f7 (diff) |
fix: Properly find boards in user config repos.
Diffstat (limited to 'app/cmake')
-rw-r--r-- | app/cmake/zmk_config.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/cmake/zmk_config.cmake b/app/cmake/zmk_config.cmake index 27c25dc..dec3110 100644 --- a/app/cmake/zmk_config.cmake +++ b/app/cmake/zmk_config.cmake @@ -61,7 +61,7 @@ foreach(root ${BOARD_ROOT}) if (EXISTS "${root}/boards/${BOARD}.overlay") list(APPEND ZMK_DTC_FILES "${root}/boards/${BOARD}.overlay") endif() - if (NOT DEFINED BOARD_DIR) + if (NOT DEFINED BOARD_DIR_NAME) find_path(BOARD_DIR NAMES ${BOARD}_defconfig PATHS ${root}/boards/*/* |