Fixed windows build and one warning

pull/3916/head
Maksim Shabunin 10 years ago
parent 369a3d1426
commit 97c78838a4
  1. 4
      cmake/templates/OpenCVConfig.cmake.in
  2. 2
      modules/superres/src/frame_source.cpp

@ -388,6 +388,10 @@ macro(ocv_include_modules)
include_directories(BEFORE "${OpenCV_INCLUDE_DIRS}")
endmacro()
macro(ocv_include_modules_recurse)
include_directories(BEFORE "${OpenCV_INCLUDE_DIRS}")
endmacro()
macro(ocv_target_link_libraries)
target_link_libraries(${ARGN})
endmacro()

@ -126,7 +126,7 @@ namespace
else
{
// should never get here
CV_Assert(0);
CV_Error(Error::StsBadArg, "Failed to detect input frame kind" );
}
}

Loading…
Cancel
Save