- attempt for better support for older versions of libvlc

This commit is contained in:
Mark Vejvoda
2012-05-14 21:09:44 +00:00
parent 5d5224b4a2
commit 32b4925f31
5 changed files with 44 additions and 34 deletions

View File

@@ -9,6 +9,7 @@
# LIBVLC_LIBRARY
# LIBVLC_VERSION
# LIBVLC_VERSION_PRE_V2
# LIBVLC_VERSION_PRE_1_1_13
if(NOT LIBVLC_MIN_VERSION)
set(LIBVLC_MIN_VERSION "0.0")
@@ -83,6 +84,9 @@ if (LIBVLC_FOUND)
if(LIBVLC_VERSION STRLESS "2.0.0")
set(LIBVLC_VERSION_PRE_V2 TRUE)
ENDIF()
if(LIBVLC_VERSION STRLESS "1.1.13")
set(LIBVLC_VERSION_PRE_1_1_13 TRUE)
ENDIF()
if (NOT LIBVLC_FIND_QUIETLY)
message(STATUS "Found LibVLC include-dir path: ${LIBVLC_INCLUDE_DIR}")