Don't die on configuration if xinput.h is not found

This commit is contained in:
Randy Heit 2015-02-26 22:33:17 -06:00
parent d880b84ea0
commit 719dfbe5a9
1 changed files with 1 additions and 1 deletions

View File

@ -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} )