|
|
|
@ -151,13 +151,16 @@ function(status text) |
|
|
|
|
if(DEFINED status_then OR DEFINED status_else) |
|
|
|
|
if(${status_cond}) |
|
|
|
|
string(REPLACE ";" " " status_then "${status_then}") |
|
|
|
|
string(REGEX REPLACE "^[ \t]+" "" status_then "${status_then}") |
|
|
|
|
ocv_output_status("${status_text} ${status_then}") |
|
|
|
|
else() |
|
|
|
|
string(REPLACE ";" " " status_else "${status_else}") |
|
|
|
|
string(REGEX REPLACE "^[ \t]+" "" status_else "${status_else}") |
|
|
|
|
ocv_output_status("${status_text} ${status_else}") |
|
|
|
|
endif() |
|
|
|
|
else() |
|
|
|
|
string(REPLACE ";" " " status_cond "${status_cond}") |
|
|
|
|
string(REGEX REPLACE "^[ \t]+" "" status_cond "${status_cond}") |
|
|
|
|
ocv_output_status("${status_text} ${status_cond}") |
|
|
|
|
endif() |
|
|
|
|
else() |
|
|
|
|