cmake: Fix building with -DSDL_HAPTIC=Off
3 files changed