From 631a50310784f23219f73ee1e2920950b5c2322f Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Tue, 9 May 2023 11:49:11 +0100 Subject: [PATCH] CMake: Set PIMORONI_PICO_PATH. --- firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake | 2 +- firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake b/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake index 2298980..016ac04 100644 --- a/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake +++ b/firmware/PIMORONI_COSMIC_UNICORN/micropython.cmake @@ -1,4 +1,4 @@ -include_directories(${CMAKE_CURRENT_LIST_DIR}/../../) +set(PIMORONI_PICO_PATH ../../../../pimoroni-pico) include(${CMAKE_CURRENT_LIST_DIR}/../pimoroni_pico_import.cmake) include_directories(${PIMORONI_PICO_PATH}/micropython) diff --git a/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake b/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake index e247414..a2f1fbd 100644 --- a/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake +++ b/firmware/PIMORONI_GALACTIC_UNICORN/micropython.cmake @@ -1,4 +1,4 @@ -include_directories(${CMAKE_CURRENT_LIST_DIR}/../../) +set(PIMORONI_PICO_PATH ../../../../pimoroni-pico) include(${CMAKE_CURRENT_LIST_DIR}/../pimoroni_pico_import.cmake) include_directories(${PIMORONI_PICO_PATH}/micropython)