mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-21 12:18:43 +00:00
handle STREQUAL when variable is not defined
This commit is contained in:
parent
2d438d8ce0
commit
97760e3633
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ list(APPEND GLOBAL_LD_FLAGS -Wall -Wchar-subscripts -std=c99)
|
|||
list(APPEND GLOBAL_LD_FLAGS --specs=nano.specs)
|
||||
|
||||
|
||||
if(${SUPPORT_FLOAT} STREQUAL "y")
|
||||
if("${SUPPORT_FLOAT}" STREQUAL "y")
|
||||
list(APPEND GLOBAL_LD_FLAGS -u _printf_float)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue