Commit 7c354c14 authored by Artur Wieczorek's avatar Artur Wieczorek

CMake configuration for MSMF capture

parent 6c3cadbd
...@@ -228,6 +228,7 @@ if(WITH_DSHOW) ...@@ -228,6 +228,7 @@ if(WITH_DSHOW)
endif(WITH_DSHOW) endif(WITH_DSHOW)
# --- VideoInput/Microsoft Media Foundation --- # --- VideoInput/Microsoft Media Foundation ---
ocv_clear_vars(HAVE_MSMF)
if(WITH_MSMF) if(WITH_MSMF)
check_include_file(Mfapi.h HAVE_MSMF) check_include_file(Mfapi.h HAVE_MSMF)
endif(WITH_MSMF) endif(WITH_MSMF)
......
...@@ -123,6 +123,7 @@ if (WIN32 AND HAVE_DSHOW) ...@@ -123,6 +123,7 @@ if (WIN32 AND HAVE_DSHOW)
endif() endif()
if (WIN32 AND HAVE_MSMF) if (WIN32 AND HAVE_MSMF)
list(APPEND highgui_srcs src/cap_msmf.hpp)
list(APPEND highgui_srcs src/cap_msmf.cpp) list(APPEND highgui_srcs src/cap_msmf.cpp)
endif() 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