mirror of https://github.com/status-im/qzxing.git
Modify install prefix
This commit is contained in:
parent
995c01a5c8
commit
f9604ec163
|
@ -258,15 +258,30 @@ symbian {
|
||||||
Location
|
Location
|
||||||
}
|
}
|
||||||
|
|
||||||
unix:!symbian {
|
!symbian {
|
||||||
maemo5 {
|
isEmpty(PREFIX) {
|
||||||
target.path = /opt/usr/lib
|
maemo5 {
|
||||||
} else {
|
target.path = /opt/usr/lib
|
||||||
target.path = /usr/lib
|
} else {
|
||||||
|
target.path = /usr/lib
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINES += NOFMAXL
|
DEFINES += NOFMAXL
|
||||||
INSTALLS += target
|
|
||||||
|
# Installation
|
||||||
|
headers.files = qzxing.h QZXing_global.h
|
||||||
|
headers.path = $$PREFIX/include
|
||||||
|
target.path = $$PREFIX/lib
|
||||||
|
INSTALLS += headers target
|
||||||
|
|
||||||
|
# pkg-config support
|
||||||
|
CONFIG += create_pc create_prl no_install_prl
|
||||||
|
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
|
||||||
|
QMAKE_PKGCONFIG_LIBDIR = ${prefix}/lib
|
||||||
|
QMAKE_PKGCONFIG_INCDIR = ${prefix}/include
|
||||||
|
|
||||||
|
unix:QMAKE_CLEAN += -r pkgconfig lib$${TARGET}.prl
|
||||||
}
|
}
|
||||||
|
|
||||||
win32-msvc*{
|
win32-msvc*{
|
||||||
|
|
Loading…
Reference in New Issue