Merge pull request #3247 from a-wi:CMake_MSMF_configuration

This commit is contained in:
Vadim Pisarevsky 2014-09-22 15:31:09 +00:00
commit 9c91d0103f
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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()