sysbuild fix

This commit is contained in:
liquidraver committed 2026-03-19 11:04:15 +01:00
1 parent d9de2293ad
commit ab928477ea
2 files changed
+39 -16

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
# Sysbuild resolves the board BEFORE the application CMakeLists.txt runs,
# so the BOARD_ROOT set there never fires. Set it here, before find_package(Sysbuild).
set(BOARD_ROOT "${APP_DIR}" CACHE STRING "" FORCE)
find_package(Sysbuild REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(sysbuild LANGUAGES)