mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
Don't die on configuration if xinput.h is not found
This commit is contained in:
parent
d880b84ea0
commit
719dfbe5a9
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ if( WIN32 )
|
|||
PATHS ENV DXSDK_DIR
|
||||
PATH_SUFFIXES Include )
|
||||
if( NOT XINPUT_INCLUDE_DIR )
|
||||
message( SEND_ERROR "Could not find xinput.h. XInput will be disabled." )
|
||||
message( WARNING "Could not find xinput.h. XInput will be disabled." )
|
||||
add_definitions( -DNO_XINPUT )
|
||||
else( NOT XINPUT_INCLUDE_DIR )
|
||||
include_directories( ${XINPUT_INCLUDE_DIR} )
|
||||
|
|
Loading…
Reference in a new issue