mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-19 20:34:49 -04:00
Merge pull request #44 from AsamK/improve_qmake
Improve qmake: "make install" support and ability to change install prefix
This commit is contained in:
commit
b8459b3161
25 changed files with 124 additions and 74 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue