Commit 7710f6d1 authored by mantelt's avatar mantelt

ExternalLibs: Fix compiling on windows 64bit

Add switch to QGCExternalLibs.pri to check whether 32bit or 64bit version of SDL should be used on windows
parent 891b0adb
......@@ -80,11 +80,14 @@ MacBuild {
} else:LinuxBuild {
PKGCONFIG = sdl2
} else:WindowsBuild {
INCLUDEPATH += \
$$BASEDIR/libs/lib/sdl2/msvc/include \
INCLUDEPATH += $$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 += \
-L$$BASEDIR/libs/lib/sdl2/msvc/lib/x86 \
-lSDL2main \
-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