Commit ffffab47 authored by Matthias Vallentin's avatar Matthias Vallentin

Make preprocessor log level numeric.

CMake treats quotes in add_definitions(..) as literals. This resulted in an
invalid definition of the log level as a character string as opposed to a
numeric value.
parent 923e91c3
...@@ -156,7 +156,7 @@ set(LD_FLAGS ${CMAKE_LD_LIBS}) ...@@ -156,7 +156,7 @@ set(LD_FLAGS ${CMAKE_LD_LIBS})
################################################################################ ################################################################################
if(CAF_LOG_LEVEL) if(CAF_LOG_LEVEL)
add_definitions(-DCAF_LOG_LEVEL="${CAF_LOG_LEVEL}") add_definitions(-DCAF_LOG_LEVEL=${CAF_LOG_LEVEL})
endif() endif()
if(CAF_ENABLE_RUNTIME_CHECKS) if(CAF_ENABLE_RUNTIME_CHECKS)
......
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