PAD: ensure gamepad works on linux

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2020-12-11 07:25:10 +01:00 committed by lightningterror
parent eed1e4fe8a
commit a9da983d02
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ if(XDG_STD)
set(pcsx2FinalFlags ${pcsx2FinalFlags} -DXDG_STD)
endif()
if(SDL_FOUND)
if(SDL_FOUND OR SDL2_FOUND)
set(pcsx2FinalFlags ${pcsx2FinalFlags} -DSDL_BUILD)
endif()