Commit f7bda3f4 authored by Dominik Charousset's avatar Dominik Charousset

Add missing log level to sanity check

parent c55b30eb
...@@ -374,7 +374,7 @@ else() ...@@ -374,7 +374,7 @@ else()
string(TOUPPER "${CAF_LOG_LEVEL}" CAF_LOG_LEVEL) string(TOUPPER "${CAF_LOG_LEVEL}" CAF_LOG_LEVEL)
endif() endif()
set(validLogLevels QUIET ERROR WARNING DEBUG TRACE) set(validLogLevels QUIET ERROR WARNING INFO DEBUG TRACE)
list(FIND validLogLevels "${CAF_LOG_LEVEL}" logLevelIndex) list(FIND validLogLevels "${CAF_LOG_LEVEL}" logLevelIndex)
if(logLevelIndex LESS 0) if(logLevelIndex LESS 0)
MESSAGE(FATAL_ERROR "Invalid log level: \"${CAF_LOG_LEVEL}\"") MESSAGE(FATAL_ERROR "Invalid log level: \"${CAF_LOG_LEVEL}\"")
......
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