Commit 63d4103d authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5373 from mantelt/fix/Win64_SDL_Lib

ExternalLibs: Fix compilation on windows 64bit
parents 6dfa4da1 7710f6d1
...@@ -80,11 +80,14 @@ MacBuild { ...@@ -80,11 +80,14 @@ MacBuild {
} else:LinuxBuild { } else:LinuxBuild {
PKGCONFIG = sdl2 PKGCONFIG = sdl2
} else:WindowsBuild { } else:WindowsBuild {
INCLUDEPATH += \ INCLUDEPATH += $$BASEDIR/libs/lib/sdl2/msvc/include
$$BASEDIR/libs/lib/sdl2/msvc/include \
contains(QT_ARCH, i386) {
LIBS += -L$$BASEDIR/libs/lib/sdl2/msvc/lib/x86
} else {
LIBS += -L$$BASEDIR/libs/lib/sdl2/msvc/lib/x64
}
LIBS += \ LIBS += \
-L$$BASEDIR/libs/lib/sdl2/msvc/lib/x86 \
-lSDL2main \ -lSDL2main \
-lSDL2 -lSDL2
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment