mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
13 lines
290 B
CMake
13 lines
290 B
CMake
|
if(NOT HAVE_XINE AND PKG_CONFIG_FOUND)
|
||
|
pkg_check_modules(XINE libxine QUIET)
|
||
|
if(XINE_FOUND)
|
||
|
set(HAVE_XINE TRUE)
|
||
|
endif()
|
||
|
endif()
|
||
|
|
||
|
if(HAVE_XINE)
|
||
|
ocv_add_external_target(xine "${XINE_INCLUDE_DIRS}" "${XINE_LIBRARIES}" "HAVE_XINE")
|
||
|
endif()
|
||
|
|
||
|
set(HAVE_XINE ${HAVE_XINE} PARENT_SCOPE)
|