Skip to content

Commit 304ab7d

Browse files
authored
Fix loading of PICO_TOOLCHAIN_PATH (#262)
- Add double quotes because build option it's a string. - Remove comment as requested by @kilograham. - Resolves #258.
1 parent f6d32f8 commit 304ab7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/pico_pre_load_toolchain.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# PICO_CMAKE_CONFIG: PICO_TOOLCHAIN_PATH, Path to search for compiler, default=none (i.e. search system paths), group=build
2-
# Set your compiler path here if it's not in the PATH environment variable.
3-
set(PICO_TOOLCHAIN_PATH "" CACHE INTERNAL "")
2+
set(PICO_TOOLCHAIN_PATH "${PICO_TOOLCHAIN_PATH}" CACHE INTERNAL "")
43

54
# Set a default build type if none was specified
65
set(default_build_type "Release")

0 commit comments

Comments
 (0)