summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/cmake/zmk_config.cmake2
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/*/*