- updates to cmake script to detect inclusion of libvlc (and spelling mistake fix)

This commit is contained in:
Mark Vejvoda
2013-09-18 19:03:12 +00:00
parent 60028086e2
commit aa66e4b5e9
2 changed files with 3 additions and 1 deletions

View File

@@ -226,6 +226,8 @@ option(ENABLE_FRIBIDI "Enable FriBIDi support" ON)
SET(LIBVLC_MIN_VERSION "1.1.0")
FIND_PACKAGE(LIBVLC)
MESSAGE(STATUS "LIBVLC version: ${LIBVLC_VERSION} WITH_VLC macro: ${WITH_VLC}")
IF(LIBVLC_FOUND AND WITH_VLC AND NOT LIBVLC_VERSION STRLESS "${LIBVLC_MIN_VERSION}")
MESSAGE(STATUS "**NOTE: LIBVLC found so videos are supported.")
INCLUDE_DIRECTORIES(${LIBVLC_INCLUDE_DIR})