mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 22:22:45 -04:00
attempt to fix compilation on macOS
This commit is contained in:
parent
b620b63677
commit
0388702f3d
1 changed files with 22 additions and 0 deletions
|
@ -40,3 +40,25 @@ unix {
|
||||||
target.path = "$${RS_BIN_DIR}"
|
target.path = "$${RS_BIN_DIR}"
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
}
|
}
|
||||||
|
|
||||||
|
macx {
|
||||||
|
# ENABLE THIS OPTION FOR Univeral Binary BUILD.
|
||||||
|
#CONFIG += ppc x86
|
||||||
|
#QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
|
||||||
|
LIBS += -lz
|
||||||
|
#LIBS += -lssl -lcrypto -lz -lgpgme -lgpg-error -lassuan
|
||||||
|
|
||||||
|
for(lib, LIB_DIR):exists($$lib/libminiupnpc.a){ LIBS += $$lib/libminiupnpc.a}
|
||||||
|
|
||||||
|
LIBS += -framework CoreFoundation
|
||||||
|
LIBS += -framework Security
|
||||||
|
LIBS += -framework Carbon
|
||||||
|
|
||||||
|
for(lib, LIB_DIR):LIBS += -L"$$lib"
|
||||||
|
for(bin, BIN_DIR):LIBS += -L"$$bin"
|
||||||
|
|
||||||
|
DEPENDPATH += . $$INC_DIR
|
||||||
|
INCLUDEPATH += . $$INC_DIR
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue