message: cmake: fix '-fvisibility' options regression
  CMAKE_COMPILER_ID => CMAKE_CXX_COMPILER_ID
diff: @@ -280,7 +280,7 @@ set(OPENCV_EXTRA_EXE_LINKER_FLAGS_RELEASE "${OPENCV_EXTRA_EXE_LINKER_FLAGS_RELEA
  set(OPENCV_EXTRA_EXE_LINKER_FLAGS_DEBUG "${OPENCV_EXTRA_EXE_LINKER_FLAGS_DEBUG}" CACHE INTERNAL "Extra linker flags for Debug build")
  # set default visibility to hidden
  -if((CMAKE_COMPILER_ID STREQUAL "GNU" OR CMAKE_COMPILER_ID STREQUAL "Clang")
  +if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
  AND NOT OPENCV_SKIP_VISIBILITY_HIDDEN
  AND NOT CMAKE_CXX_FLAGS MATCHES "-fvisibility")
  add_extra_compiler_option(-fvisibility=hidden)
  