Merge pull request #2100 from kilograham/top_broken

movement of TOP in c0ecf8b5 broke RP2040 SDK build
This commit is contained in:
Ha Thach 2023-06-10 17:24:23 +07:00 committed by GitHub
commit 39a64334aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ include(CMakePrintHelpers)
# TOP is path to root directory
set(TOP "${CMAKE_CURRENT_LIST_DIR}/../..")
get_filename_component(TOP ${TOP} ABSOLUTE)
# Default to gcc
if (NOT DEFINED TOOLCHAIN)