mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +02:00
- attempt to allow support for older vlc
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
# LIBVLC_INCLUDE_DIR
|
||||
# LIBVLC_LIBRARY
|
||||
# LIBVLC_VERSION
|
||||
# LIBVLC_VERSION_PRE_V2
|
||||
|
||||
if(NOT LIBVLC_MIN_VERSION)
|
||||
set(LIBVLC_MIN_VERSION "0.0")
|
||||
@@ -78,6 +79,11 @@ if (LIBVLC_VERSION STRLESS "${LIBVLC_MIN_VERSION}")
|
||||
endif (LIBVLC_VERSION STRLESS "${LIBVLC_MIN_VERSION}")
|
||||
|
||||
if (LIBVLC_FOUND)
|
||||
|
||||
if(LIBVLC_VERSION STRLESS "2.0.0")
|
||||
set(LIBVLC_VERSION_PRE_V2 TRUE)
|
||||
ENDIF()
|
||||
|
||||
if (NOT LIBVLC_FIND_QUIETLY)
|
||||
message(STATUS "Found LibVLC include-dir path: ${LIBVLC_INCLUDE_DIR}")
|
||||
message(STATUS "Found LibVLC library path:${LIBVLC_LIBRARY}")
|
||||
|
Reference in New Issue
Block a user