diff options
| author | graham sanderson <[email protected]> | 2021-06-01 09:04:08 -0500 |
|---|---|---|
| committer | graham sanderson <[email protected]> | 2021-06-01 09:04:08 -0500 |
| commit | 8782d0b8df507a0d2e1f7a12a27a76d50e0d4477 (patch) | |
| tree | 82f1834422b8f9b6dbf76cebf42d7616cc106358 | |
| parent | f5572e24b25800c133b2f9fd4eae02e0934cd935 (diff) | |
fix rp2040 examples build from local tinyusb tree
| -rw-r--r-- | hw/bsp/rp2040/family.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake index cb9d8094a..ee17d4d46 100644 --- a/hw/bsp/rp2040/family.cmake +++ b/hw/bsp/rp2040/family.cmake @@ -17,7 +17,7 @@ if (NOT TARGET _rp2040_family_inclusion_marker) include(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake) # TOP is absolute path to root directory of TinyUSB git repo - set(TOP "../../..") + set(TOP "${CMAKE_CURRENT_LIST_DIR}/../../..") get_filename_component(TOP "${TOP}" REALPATH) if (NOT PICO_TINYUSB_PATH) |
