Merge pull request #44 from AsamK/improve_qmake

Improve qmake: "make install" support and ability to change install prefix
This commit is contained in:
Cyril Soler 2015-08-26 20:38:27 -04:00
commit b8459b3161
25 changed files with 124 additions and 74 deletions

View file

@ -3,6 +3,14 @@ TEMPLATE = lib
DEPENDPATH += ../../libretroshare/src/ ../../retroshare-gui/src/
INCLUDEPATH += ../../libretroshare/src/ ../../retroshare-gui/src/
unix {
isEmpty(PREFIX) { PREFIX = /usr }
isEmpty(LIB_DIR) { LIB_DIR = "$${PREFIX}/lib" }
target.path = "$${LIB_DIR}/retroshare/extensions6"
INSTALLS += target
}
linux-g++ {
LIBS *= -ldl
}