Commit 9c91d010 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3247 from a-wi:CMake_MSMF_configuration

parents 37a17672 7c354c14
......@@ -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)
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment