We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 465dff2 commit fe941afCopy full SHA for fe941af
cmake/preload/toolchains/util/pico_arm_clang_common.cmake
@@ -45,7 +45,8 @@ list(APPEND CMAKE_TRY_COMPILE_PLATFORM_VARIABLES PICO_CLIB)
45
46
set(_CLANG_RUNTIMES_DIR "${PICO_COMPILER_DIR}/../lib/clang-runtimes")
47
set(_PICO_CLIB_PATH "${_CLANG_RUNTIMES_DIR}/arm-none-eabi")
48
-if(PICO_CLIB STREQUAL "" OR PICO_CLIB STREQUAL "newlib")
+
49
+if(NOT PICO_CLIB OR PICO_CLIB STREQUAL "" OR PICO_CLIB STREQUAL "newlib")
50
# newlib is 1st class choice
51
if(EXISTS "${_CLANG_RUNTIMES_DIR}/newlib/arm-none-eabi")
52
set(_PICO_CLIB_PATH "${_CLANG_RUNTIMES_DIR}/newlib/arm-none-eabi")
0 commit comments