mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-15 06:52:34 +02:00
Fixed MacOS library paths
This commit is contained in:
parent
ddc80ceedc
commit
9a97f19918
@ -119,7 +119,7 @@ win32 {
|
||||
install_it.files += ThirdParty\steam\redistributable_bin\win64\steam_api64.dll
|
||||
}
|
||||
|
||||
unix {
|
||||
unix:!macx {
|
||||
LIBS += -L$$PWD/ThirdParty/steam/redistributable_bin/linux64/ -lsteam_api
|
||||
DEPENDPATH += $$PWD/ThirdParty/steam/redistributable_bin/linux64
|
||||
|
||||
@ -131,6 +131,22 @@ unix {
|
||||
install_it.files += ThirdParty\steam\redistributable_bin\linux64\libsteam_api.so
|
||||
}
|
||||
|
||||
macx: {
|
||||
LIBS += -L$$PWD/ThirdParty/steam/redistributable_bin/osx32/ -lsteam_api
|
||||
DEPENDPATH += $$PWD/ThirdParty/steam/redistributable_bin/osx32
|
||||
|
||||
INCLUDEPATH += $$PWD/ThirdParty/steam/lib/osx32
|
||||
DEPENDPATH += $$PWD/ThirdParty/steam/lib/osx32s
|
||||
|
||||
LIBS += -L$$PWD/ThirdParty/steam/lib/osx32/ -lsdkencryptedappticket
|
||||
|
||||
install_it.files += ThirdParty\steam\redistributable_bin\osx32\libsteam_api.so
|
||||
|
||||
steam_data.files = steam_appid.txt
|
||||
steam_data.path = Contents/MacOS
|
||||
QMAKE_BUNDLE_DATA += steam_data
|
||||
}
|
||||
|
||||
DISTFILES += \
|
||||
favicon.ico
|
||||
|
||||
|
@ -22,17 +22,23 @@ INCLUDEPATH += \
|
||||
|
||||
include(../ScreenPlaySDK/Screenplaysdk.pri)
|
||||
|
||||
macx: {
|
||||
QMAKE_LIBDIR += $$OUT_PWD/
|
||||
install_it.path = $${OUT_PWD}/../ScreenPlaySDK
|
||||
}
|
||||
|
||||
CONFIG(debug, debug|release) {
|
||||
LIBS += -lScreenplaysdkd
|
||||
install_it.path = $${OUT_PWD}/debug/
|
||||
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/debug
|
||||
} else {
|
||||
LIBS += -lScreenplaysdk
|
||||
install_it.path = $${OUT_PWD}/release/
|
||||
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/release
|
||||
}
|
||||
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK
|
||||
!macx: {
|
||||
CONFIG(debug, debug|release) {
|
||||
LIBS += -lScreenplaysdkd
|
||||
install_it.path = $${OUT_PWD}/debug/
|
||||
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/debug
|
||||
} else {
|
||||
LIBS += -lScreenplaysdk
|
||||
install_it.path = $${OUT_PWD}/release/
|
||||
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK/release
|
||||
}
|
||||
QMAKE_LIBDIR += $$OUT_PWD/../ScreenPlaySDK
|
||||
}
|
||||
|
||||
install_it.files += index.html \
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user