mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-27 10:20:49 +00:00
Look for SDL_gamecontroller.h instead of SDL.h to prevent CMake from
using SDL1 include dirs
This commit is contained in:
parent
dbdef45559
commit
1d096f7d02
@ -70,7 +70,7 @@
|
||||
# (To distribute this file outside of CMake, substitute the full
|
||||
# License text for the above reference.)
|
||||
|
||||
FIND_PATH(SDL2_INCLUDE_DIR SDL.h
|
||||
FIND_PATH(SDL2_INCLUDE_DIR SDL_gamecontroller.h
|
||||
HINTS
|
||||
$ENV{SDL2DIR}
|
||||
PATH_SUFFIXES include/SDL2 include
|
||||
|
Loading…
Reference in New Issue
Block a user