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:
18
cmake/FindVPX.cmake
Normal file
18
cmake/FindVPX.cmake
Normal 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()
|
Reference in New Issue
Block a user