CMake configuration for MSMF capture
Applied in PR3247 to 2.4 branch.
This commit is contained in:
parent
b91bd6716c
commit
302b138aa7
@ -254,6 +254,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)
|
||||
|
@ -42,6 +42,7 @@ if (WIN32 AND HAVE_DSHOW)
|
||||
endif()
|
||||
|
||||
if (WIN32 AND HAVE_MSMF)
|
||||
list(APPEND videoio_srcs ${CMAKE_CURRENT_LIST_DIR}/src/cap_msmf.hpp)
|
||||
list(APPEND videoio_srcs ${CMAKE_CURRENT_LIST_DIR}/src/cap_msmf.cpp)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user