mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 23:42:08 +00:00
c0bd8f80e7
MSVC uses libvpx stored in the repository if lookup for external headers and libraries failed
8 lines
272 B
CMake
8 lines
272 B
CMake
|
|
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)
|