1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 19:59:09 +00:00

Basic VPX decoding for plMoviePlayer

This commit is contained in:
2012-12-19 02:38:23 -05:00
committed by Florian Meißner
parent 69bc106576
commit 2caade5fff
12 changed files with 11156 additions and 7 deletions

18
cmake/FindVPX.cmake Normal file
View File

@ -0,0 +1,18 @@
if(VPX_INCLUDE_DIR AND VPX_LIBRARY)
set(VPX_FIND_QUIETLY TRUE)
endif()
find_path(VPX_INCLUDE_DIR vpx/vp8.h
/usr/local/include
/usr/include
)
find_library(VPX_LIBRARY NAMES vpxmt vpx
PATHS /usr/local/lib /usr/lib
)
# If everything has been found, we have movie support!
if (VPX_INCLUDE_DIR AND VPX_LIBRARY)
set(VPX_AVAILABLE TRUE)
add_definitions(-DVPX_AVAILABLE)
endif()