mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Fix Qt build in Linux, problem to recognize SDL2.
This commit is contained in:
parent
c9be32daf7
commit
a18344e15b
@ -37,11 +37,11 @@ greaterThan(QT_MAJOR_VERSION,4) {
|
||||
macx|equals(PLATFORM_NAME, "linux") {
|
||||
PRE_TARGETDEPS += $$CONFIG_DIR/libCommon.a $$CONFIG_DIR/libCore.a $$CONFIG_DIR/libGPU.a $$CONFIG_DIR/libNative.a
|
||||
CONFIG += link_pkgconfig
|
||||
packagesExist(sdl) {
|
||||
packagesExist(sdl2) {
|
||||
DEFINES += QT_HAS_SDL
|
||||
SOURCES += $$P/SDL/SDLJoystick.cpp
|
||||
HEADERS += $$P/SDL/SDLJoystick.h
|
||||
PKGCONFIG += sdl
|
||||
PKGCONFIG += sdl2
|
||||
macx {
|
||||
LIBS += -F/Library/Frameworks -framework SDL
|
||||
INCLUDEPATH += /Library/Frameworks/SDL.framework/Versions/A/Headers
|
||||
|
Loading…
Reference in New Issue
Block a user