cmake: fix typo

This commit is contained in:
Alexander Alekhin 2017-06-22 19:21:59 +03:00
parent d27009c775
commit d649d1388e

View File

@ -804,7 +804,7 @@ macro(_ocv_create_module)
if(DEFINED OPENCV_VS_VERSIONINFO_FILE) if(DEFINED OPENCV_VS_VERSIONINFO_FILE)
set(_VS_VERSION_FILE "${OPENCV_VS_VERSIONINFO_FILE}") set(_VS_VERSION_FILE "${OPENCV_VS_VERSIONINFO_FILE}")
elseif(DEFINED OPENCV_VS_VERSIONINFO_${the_module}_FILE) elseif(DEFINED OPENCV_VS_VERSIONINFO_${the_module}_FILE)
set(_VS_VERSION_FILE "${OPENCV_VS_VERSIONINFO_${the_module}_FILE") set(_VS_VERSION_FILE "${OPENCV_VS_VERSIONINFO_${the_module}_FILE}")
elseif(NOT OPENCV_VS_VERSIONINFO_SKIP_GENERATION) elseif(NOT OPENCV_VS_VERSIONINFO_SKIP_GENERATION)
set(_VS_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/vs_version.rc") set(_VS_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/vs_version.rc")
ocv_generate_vs_version_file("${_VS_VERSION_FILE}" ocv_generate_vs_version_file("${_VS_VERSION_FILE}"