From aa9eeddd86ab3f442015186fbdd44f04450188aa Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Thu, 23 Feb 2012 20:05:27 +0000 Subject: [PATCH] Fixed problem with backslashes in cmake status report --- cmake/OpenCVUtils.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/OpenCVUtils.cmake b/cmake/OpenCVUtils.cmake index 397254a..d6c3466 100644 --- a/cmake/OpenCVUtils.cmake +++ b/cmake/OpenCVUtils.cmake @@ -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() # status( [ ...]) # status( THEN ELSE ) -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 -- 2.7.4