message: changes cmake_system_name matching condition
diff: @@ -733,7 +733,7 @@ if(UNIX)
  CHECK_INCLUDE_FILE(pthread.h HAVE_PTHREAD)
  if(ANDROID)
  set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} dl m log)
  - elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD|Haiku")
  + elseif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD|NetBSD|DragonFly|OpenBSD|Haiku")
  set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} m pthread)
  elseif(EMSCRIPTEN)
  # no need to link to system libs with emscripten
  