Skip to content
Snippets Groups Projects
Commit 3bb8fefb authored by Richard Berger's avatar Richard Berger
Browse files

Little tweak to error message

parent 60c9477e
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ function(validate_option name values) ...@@ -35,7 +35,7 @@ function(validate_option name values)
if(${IDX_LOWER} LESS 0 AND ${IDX_UPPER} LESS 0) if(${IDX_LOWER} LESS 0 AND ${IDX_UPPER} LESS 0)
list_to_bulletpoints(POSSIBLE_VALUE_LIST ${${values}}) list_to_bulletpoints(POSSIBLE_VALUE_LIST ${${values}})
message(FATAL_ERROR "\n########################################################################\n" message(FATAL_ERROR "\n########################################################################\n"
"Invalid value '${${name}}' for option '${name}'\n" "Invalid value '${${name}}' for option ${name}\n"
"\n" "\n"
"Possible values are:\n" "Possible values are:\n"
"${POSSIBLE_VALUE_LIST}" "${POSSIBLE_VALUE_LIST}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment