1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

fix wrong usage of status(), remove useless message in videoio

This commit is contained in:
Alexander Alekhin
2015-07-10 19:18:07 +03:00
parent 6116a2fcf8
commit aa871ca506
3 changed files with 10 additions and 11 deletions
+3 -3
View File
@@ -720,15 +720,15 @@ macro(_ocv_create_module)
set(sub_links "")
set(cuda_objs "")
if (OPENCV_MODULE_${the_module}_CHILDREN)
status("Complex module ${the_module}")
message(STATUS "Complex module ${the_module}")
foreach (m ${OPENCV_MODULE_${the_module}_CHILDREN})
if (BUILD_${m} AND TARGET ${m}_object)
get_target_property(_sub_links ${m} LINK_LIBRARIES)
list(APPEND sub_objs $<TARGET_OBJECTS:${m}_object>)
list(APPEND sub_links ${_sub_links})
status(" + ${m}")
message(STATUS " + ${m}")
else()
status(" - ${m}")
message(STATUS " - ${m}")
endif()
list(APPEND cuda_objs ${OPENCV_MODULE_${m}_CUDA_OBJECTS})
endforeach()