mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- fix libVPX detection
This commit is contained in:
parent
0d23db5b4a
commit
80200da947
2 changed files with 9 additions and 0 deletions
|
@ -189,6 +189,7 @@ option( NO_OPENAL "Disable OpenAL sound support" OFF )
|
|||
|
||||
find_package( BZip2 )
|
||||
find_package( JPEG )
|
||||
find_package( VPX )
|
||||
find_package( ZLIB )
|
||||
|
||||
include( TargetArch )
|
||||
|
|
8
cmake/FindVPX.cmake
Normal file
8
cmake/FindVPX.cmake
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
find_path(VPX_INCLUDE_DIR NAMES vpx/vp8dx.h vpx/vpx_decoder.h)
|
||||
find_library(VPX_LIBRARIES NAMES vpx)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(VPX DEFAULT_MSG VPX_LIBRARIES VPX_INCLUDE_DIR)
|
||||
|
||||
mark_as_advanced(VPX_INCLUDE_DIR VPX_LIBRARIES)
|
Loading…
Reference in a new issue