fix rp2040 examples build from local tinyusb tree

This commit is contained in:
graham sanderson 2021-06-01 09:04:08 -05:00
parent f5572e24b2
commit 8782d0b8df
1 changed files with 1 additions and 1 deletions

View File

@ -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)