mirror of
https://github.com/opencv/opencv.git
synced 2024-12-18 03:18:01 +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)
|