mirror of https://github.com/PCSX2/pcsx2.git
Quick regression fix for SDL2 detection.
I only had to add "PATH_SUFFIXES SDL2". . include is superfluous SDL2-2.0 is a distro specific convenience symlink. Use the correct one as before. . I probably did this as an artificial way of disabling pkgconfig when cross compiling and before disabling pkgconfig for all cross compiling but it's wrong. I thought I had fixed this already.
This commit is contained in:
parent
be1842f4e9
commit
c2cba0d4ae
|
@ -41,7 +41,7 @@ check_lib(PORTAUDIO portaudio portaudio.h pa_linux_alsa.h)
|
|||
check_lib(SOUNDTOUCH SoundTouch soundtouch/SoundTouch.h)
|
||||
|
||||
if(SDL2_API)
|
||||
check_lib(SDL2 SDL2-2.0 SDL.h PATH_SUFFIXES include/SDL2)
|
||||
check_lib(SDL2 SDL2 SDL.h PATH_SUFFIXES SDL2)
|
||||
else()
|
||||
# Tell cmake that we use SDL as a library and not as an application
|
||||
set(SDL_BUILDING_LIBRARY TRUE)
|
||||
|
|
Loading…
Reference in New Issue