From d649d1388eec8e9526506e002d8cbd2b2bf39516 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 22 Jun 2017 19:21:59 +0300 Subject: [PATCH] cmake: fix typo --- cmake/OpenCVModule.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVModule.cmake b/cmake/OpenCVModule.cmake index c0bb999624..9f0e24a612 100644 --- a/cmake/OpenCVModule.cmake +++ b/cmake/OpenCVModule.cmake @@ -804,7 +804,7 @@ macro(_ocv_create_module) if(DEFINED OPENCV_VS_VERSIONINFO_FILE) set(_VS_VERSION_FILE "${OPENCV_VS_VERSIONINFO_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) set(_VS_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/vs_version.rc") ocv_generate_vs_version_file("${_VS_VERSION_FILE}"