message: cmake: fix CPU_BASELINE=NATIVE on MSVS
diff: @@ -392,7 +392,7 @@ endforeach()
  if(_add_native_flag)
  set(_varname "HAVE_CPU_NATIVE_SUPPORT")
  ocv_check_compiler_flag(CXX "-march=native" "${_varname}" "")
  - if(_varname)
  + if(${_varname})
  set(CPU_BASELINE_FLAGS "${CPU_BASELINE_FLAGS} -march=native")
  else()
  set(_varname "HAVE_CPU_HOST_SUPPORT")
  @@ -402,8 +402,8 @@ if(_add_native_flag)
  set(_flag "-xHost")
  endif()
  ocv_check_compiler_flag(CXX "${_flag}" "${_varname}" "")
  - if(_varname)
  - set(CPU_BASELINE_FLAGS "${CPU_BASELINE_FLAGS} ${flag}")
  + if(${_varname})
  + set(CPU_BASELINE_FLAGS "${CPU_BASELINE_FLAGS} ${_flag}")
  endif()
  endif()
  endif()
  