mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
311 B
15 lines
311 B
6 years ago
|
# --- VideoInput/DirectShow ---
|
||
|
if(NOT HAVE_DSHOW AND MSVC AND NOT MSVC_VERSION LESS 1500)
|
||
|
set(HAVE_DSHOW TRUE)
|
||
|
endif()
|
||
|
|
||
|
if(NOT HAVE_DSHOW)
|
||
|
check_include_file(dshow.h HAVE_DSHOW)
|
||
|
endif()
|
||
|
|
||
|
if(HAVE_DSHOW)
|
||
|
ocv_add_external_target(dshow "" "" "HAVE_DSHOW")
|
||
|
endif()
|
||
|
|
||
|
set(HAVE_DSHOW ${HAVE_DSHOW} PARENT_SCOPE)
|