From: Artur Wieczorek Date: Sun, 21 Sep 2014 16:48:54 +0000 (+0200) Subject: CMake configuration for MSMF capture X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~388^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c354c14f71f261ec14153f7e85220b0ab5fef1c;p=platform%2Fupstream%2Fopencv.git CMake configuration for MSMF capture --- diff --git a/cmake/OpenCVFindLibsVideo.cmake b/cmake/OpenCVFindLibsVideo.cmake index 90b8c14..51da77c 100644 --- a/cmake/OpenCVFindLibsVideo.cmake +++ b/cmake/OpenCVFindLibsVideo.cmake @@ -228,6 +228,7 @@ if(WITH_DSHOW) endif(WITH_DSHOW) # --- VideoInput/Microsoft Media Foundation --- +ocv_clear_vars(HAVE_MSMF) if(WITH_MSMF) check_include_file(Mfapi.h HAVE_MSMF) endif(WITH_MSMF) diff --git a/modules/highgui/CMakeLists.txt b/modules/highgui/CMakeLists.txt index 98090b6..9abd960 100644 --- a/modules/highgui/CMakeLists.txt +++ b/modules/highgui/CMakeLists.txt @@ -123,6 +123,7 @@ if (WIN32 AND HAVE_DSHOW) endif() if (WIN32 AND HAVE_MSMF) + list(APPEND highgui_srcs src/cap_msmf.hpp) list(APPEND highgui_srcs src/cap_msmf.cpp) endif()