From 83eae904a0279dbf2caf3c164ed6dcb31bdfb532 Mon Sep 17 00:00:00 2001 From: Prime9999 Date: Fri, 4 Oct 2024 23:34:14 +0900 Subject: [PATCH] Add ${CMAKE_CURRENT_LIST_DIR} to include boards.cmake/*.cmake properly --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd55db84..41b679cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,10 @@ # Espressif ESP* based boards if (DEFINED ESP_PLATFORM) -include(boards.cmake/esp-idf.cmake) +include(${CMAKE_CURRENT_LIST_DIR}/boards.cmake/esp-idf.cmake) # Raspberry Pi RP* based boards elseif ((DEFINED PICO_PLATFORM) OR (DEFINED PICO_BOARD)) -include(boards.cmake/pico-sdk.cmake) +include(${CMAKE_CURRENT_LIST_DIR}/boards.cmake/pico-sdk.cmake) # Cannot determine boards type else()