Commit ddb3b7d1 authored by Henrique Silva's avatar Henrique Silva

Include lower case match on board regexp

parent f20f9172
......@@ -5,7 +5,7 @@ if(NOT BOARD)
endif()
#BUG: Regexp will match AFC and AFCK
if(${BOARD} MATCHES "^(AFC)")
if(${BOARD} MATCHES "^(AFC|afc)")
add_subdirectory(afc)
else()
message(FATAL_ERROR "${BoldRed}Selected board \"${BOARD}\" is not implemented!${ColourReset}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment