Commit aa9eeddd authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed problem with backslashes in cmake status report

parent d7763d99
......@@ -90,13 +90,13 @@ macro(CHECK_MODULE module_name define)
endmacro()
# Status report macro.
# Status report function.
# Automatically align right column and selects text based on condition.
# Usage:
# status(<text>)
# status(<heading> <value1> [<value2> ...])
# status(<heading> <condition> THEN <text for TRUE> ELSE <text for FALSE> )
macro(status text)
function(status text)
set(status_cond)
set(status_then)
set(status_else)
......@@ -140,7 +140,7 @@ macro(status text)
else()
message(STATUS "${text}")
endif()
endmacro()
endfunction()
# splits cmake libraries list of format "general;item1;debug;item2;release;item3" to two lists
......
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