mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-10 11:59:05 +02:00
Fix options macro in case an arg is disabled.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -5,10 +5,6 @@ macro(configure_bool_option option_name define_name enabled_msg disabled_msg)
|
||||
endif()
|
||||
message(STATUS "${enabled_msg}")
|
||||
else()
|
||||
if(NOT "${define_name}" STREQUAL "")
|
||||
add_compile_definitions(${define_name}=0)
|
||||
endif()
|
||||
message(STATUS "${disabled_msg}")
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user