mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-19 07:31:03 +00:00
- fail CMake configuration process if libvpx was not found
This helps to avoid #160
This commit is contained in:
parent
9e026d5042
commit
7f0d94798d
1 changed files with 2 additions and 0 deletions
|
@ -450,6 +450,8 @@ if( VPX_FOUND )
|
|||
add_definitions( "-DUSE_LIBVPX=1" )
|
||||
include_directories( "${VPX_INCLUDE_DIR}" )
|
||||
set( PROJECT_LIBRARIES ${PROJECT_LIBRARIES} ${VPX_LIBRARIES} )
|
||||
else()
|
||||
message( SEND_ERROR "Could not find libvpx" )
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue