mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Merge branch 'mingw-libdc1394-2-windows' of https://github.com/dominikrose/opencv into mingw-libdc1394-2-windows
This commit is contained in:
commit
76d1fa0ef6
@ -123,7 +123,7 @@ endif()
|
|||||||
|
|
||||||
# Optional 3rd party components
|
# Optional 3rd party components
|
||||||
# ===================================================
|
# ===================================================
|
||||||
OCV_OPTION(WITH_1394 "Include IEEE1394 support" ON IF (NOT ANDROID AND NOT IOS) )
|
OCV_OPTION(WITH_1394 "Include IEEE1394 support" ON IF (NOT ANDROID AND NOT IOS AND NOT MSVC) )
|
||||||
OCV_OPTION(WITH_AVFOUNDATION "Use AVFoundation for Video I/O" ON IF IOS)
|
OCV_OPTION(WITH_AVFOUNDATION "Use AVFoundation for Video I/O" ON IF IOS)
|
||||||
OCV_OPTION(WITH_CARBON "Use Carbon for UI instead of Cocoa" OFF IF APPLE )
|
OCV_OPTION(WITH_CARBON "Use Carbon for UI instead of Cocoa" OFF IF APPLE )
|
||||||
OCV_OPTION(WITH_CUDA "Include NVidia Cuda Runtime support" ON IF (CMAKE_VERSION VERSION_GREATER "2.8" AND NOT ANDROID AND NOT IOS) )
|
OCV_OPTION(WITH_CUDA "Include NVidia Cuda Runtime support" ON IF (CMAKE_VERSION VERSION_GREATER "2.8" AND NOT ANDROID AND NOT IOS) )
|
||||||
|
@ -81,8 +81,7 @@ endif(WITH_GIGEAPI)
|
|||||||
# --- Dc1394 ---
|
# --- Dc1394 ---
|
||||||
ocv_clear_vars(HAVE_DC1394 HAVE_DC1394_2)
|
ocv_clear_vars(HAVE_DC1394 HAVE_DC1394_2)
|
||||||
if(WITH_1394)
|
if(WITH_1394)
|
||||||
if(WIN32)
|
if(WIN32 AND MINGW)
|
||||||
if(MINGW)
|
|
||||||
find_path(CMU1394_INCLUDE_PATH "/1394common.h"
|
find_path(CMU1394_INCLUDE_PATH "/1394common.h"
|
||||||
PATH_SUFFIXES include
|
PATH_SUFFIXES include
|
||||||
DOC "The path to cmu1394 headers")
|
DOC "The path to cmu1394 headers")
|
||||||
@ -103,15 +102,12 @@ if(WITH_1394)
|
|||||||
"${DC1394_2_LIB_DIR}/libdc1394.a"
|
"${DC1394_2_LIB_DIR}/libdc1394.a"
|
||||||
"${CMU1394_LIB_DIR}/lib1394camera.a")
|
"${CMU1394_LIB_DIR}/lib1394camera.a")
|
||||||
endif(HAVE_DC1394_2)
|
endif(HAVE_DC1394_2)
|
||||||
else(MINGW)
|
else(WIN32 AND MINGW)
|
||||||
message(STATUS "libdc1394 compilation is disabled (due to only MinGW compiler supported on your platform).")
|
|
||||||
endif(MINGW)
|
|
||||||
else(WIN32)
|
|
||||||
CHECK_MODULE(libdc1394-2 HAVE_DC1394_2)
|
CHECK_MODULE(libdc1394-2 HAVE_DC1394_2)
|
||||||
if(NOT HAVE_DC1394_2)
|
if(NOT HAVE_DC1394_2)
|
||||||
CHECK_MODULE(libdc1394 HAVE_DC1394)
|
CHECK_MODULE(libdc1394 HAVE_DC1394)
|
||||||
endif()
|
endif()
|
||||||
endif(WIN32)
|
endif(WIN32 AND MINGW)
|
||||||
endif(WITH_1394)
|
endif(WITH_1394)
|
||||||
|
|
||||||
# --- xine ---
|
# --- xine ---
|
||||||
|
Loading…
Reference in New Issue
Block a user