Commit 4474845d authored by Nils Plath's avatar Nils Plath

Simplified status update.

parent a1173dfa
...@@ -1178,14 +1178,12 @@ status(" Java tests:" BUILD_TESTS AND opencv_test_java_BINARY_DIR ...@@ -1178,14 +1178,12 @@ status(" Java tests:" BUILD_TESTS AND opencv_test_java_BINARY_DIR
# ========================= matlab ========================= # ========================= matlab =========================
status("") status("")
if(WITH_MATLAB AND MATLAB_FOUND) if(MATLAB_FOUND)
status(" Matlab:") status(" Matlab:")
status(" mex:" MATLAB_MEX_SCRIPT THEN "${MATLAB_MEX_SCRIPT}" ELSE NO) status(" mex:" MATLAB_MEX_SCRIPT THEN "${MATLAB_MEX_SCRIPT}" ELSE NO)
if (MATLAB_FOUND) status(" Compiler/generator:" MEX_WORKS THEN "Working" ELSE "Not working (bindings will not be generated)")
status(" Compiler/generator:" MEX_WORKS THEN "Working" ELSE "Not working (bindings will not be generated)")
endif()
else() else()
status(" Matlab:" WITH_MATLAB AND NOT MATLAB_FOUND THEN "Matlab not found or implicitly disabled" ELSE NO) status(" Matlab:" WITH_MATLAB AND NOT MATLAB_FOUND THEN "Matlab not found or implicitly disabled" ELSE NO)
endif() endif()
# ========================== documentation ========================== # ========================== documentation ==========================
......
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