Little tweak to error message

This commit is contained in:
Richard Berger
2018-08-15 10:57:45 -04:00
parent 60c9477e96
commit 3bb8fefb12

View File

@ -35,7 +35,7 @@ function(validate_option name values)
if(${IDX_LOWER} LESS 0 AND ${IDX_UPPER} LESS 0)
list_to_bulletpoints(POSSIBLE_VALUE_LIST ${${values}})
message(FATAL_ERROR "\n########################################################################\n"
"Invalid value '${${name}}' for option '${name}'\n"
"Invalid value '${${name}}' for option ${name}\n"
"\n"
"Possible values are:\n"
"${POSSIBLE_VALUE_LIST}"