mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 06:53:50 +08:00
CMake configuration for MSMF capture
This commit is contained in:
parent
6c3cadbd73
commit
7c354c14f7
@ -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)
|
|||||||
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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user