Fixed "SimConnect.lib(commClient.obj) : error LNK2019: unresolved external symbol __imp_CoTaskMemFree" on Win64 systems

* discussed here: https://swift-project.slack.com/archives/G7GD2UP9C/p1528793410000485
* This problem was obviously related to commit Ref T270, Ref T275 FSX/P3D moved the common parts of the .pro files into .pri files and included those
This commit is contained in:
Klaus Basan
2018-06-12 17:49:14 +02:00
parent 2b3b0bd9ee
commit 6688b56e49

View File

@@ -2,6 +2,9 @@ equals(WORD_SIZE,64) {
INCLUDEPATH *= $$EXTERNALSROOT/common/include/simconnect/P3D-v4.1
LIBS *= -L$$EXTERNALS_LIB_DIR/P3D-v4.1
LIBS *= -lAdvapi32
LIBS += -ldxguid -lole32
# ole32 only needed for P3D on WIN64 systems, LNK2019: unresolved external symbol __imp_CoTaskMemFree referenced in function
# ldxguid are DirectX guid numbers
CONFIG(debug, debug|release): LIBS *= -lSimConnectDebug
else: LIBS *= -lSimConnect
}