Prevent the literal string DEBUG from being appended to some messages in CMake < 3.15 (#433)

Fixes issue #422
This commit is contained in:
Jonathan Reichelt Gjertsen
2021-05-26 00:10:55 +02:00
committed by GitHub
parent 6994a3858d
commit a531123080
4 changed files with 15 additions and 6 deletions

View File

@ -12,7 +12,7 @@ if (NOT PICO_GCC_TRIPLE)
message("PICO_GCC_TRIPLE set from environment: $ENV{PICO_GCC_TRIPLE}")
else()
set(PICO_GCC_TRIPLE arm-none-eabi)
message(DEBUG "PICO_GCC_TRIPLE defaulted to arm-none-eabi")
pico_message_debug("PICO_GCC_TRIPLE defaulted to arm-none-eabi")
endif()
endif()