mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-17 15:55:23 +08:00
build: add support for custom lrc installation path
- qmake: add custom lrc path support - cmake: add custom lrc path support, check qt version, update dependencies, optional test compilation - readme: update flags building with make-ring.py - tests: avoid using pandoc Change-Id: I97dea21ca7c720c2d619c44bfa7dae5290de72f9
This commit is contained in:
20
jami-qt.pro
20
jami-qt.pro
@@ -95,13 +95,23 @@ unix {
|
||||
QMAKE_CXXFLAGS += -std=c++17
|
||||
}
|
||||
|
||||
isEmpty(LRC) { LRC=$$PWD/../install/lrc/ }
|
||||
|
||||
INCLUDEPATH += $${LRC}/include/libringclient
|
||||
INCLUDEPATH += $${LRC}/include
|
||||
INCLUDEPATH += ../src
|
||||
|
||||
LIBS += -L$${LRC}/lib -lringclient
|
||||
isEmpty(LRC) {
|
||||
LRC=$$PWD/../install/lrc
|
||||
INCLUDEPATH += $${LRC}/include/libringclient
|
||||
LIBDIR = $${LRC}/lib
|
||||
} else {
|
||||
INCLUDEPATH += $${LRC}/src
|
||||
isEmpty(LRCBUILD) {
|
||||
LIBDIR = $${LRC}/build
|
||||
} else {
|
||||
LIBDIR = $${LRCBUILD}
|
||||
}
|
||||
}
|
||||
QMAKE_RPATHDIR += $${LIBDIR}
|
||||
|
||||
LIBS += -L$${LIBDIR} -lringclient
|
||||
LIBS += -lqrencode
|
||||
LIBS += -lX11
|
||||
|
||||
|
||||
Reference in New Issue
Block a user