mirror of
https://github.com/gamecreature/QtAwesome.git
synced 2024-11-15 13:35:44 +08:00
Merge pull request #1 from msiedlarek/installation
Installation and installation prefix
This commit is contained in:
commit
139d249f30
@ -11,5 +11,18 @@ CONFIG += staticlib
|
||||
SOURCES += QtAwesome.cpp
|
||||
HEADERS += QtAwesome.h
|
||||
|
||||
isEmpty(PREFIX) {
|
||||
unix {
|
||||
PREFIX = /usr
|
||||
} else {
|
||||
PREFIX = $$[QT_INSTALL_PREFIX]
|
||||
}
|
||||
}
|
||||
|
||||
install_headers.files = QtAwesome.h
|
||||
install_headers.path = $$PREFIX/include
|
||||
target.path = $$PREFIX/lib
|
||||
INSTALLS += install_headers target
|
||||
|
||||
RESOURCES += \
|
||||
QtAwesome.qrc
|
||||
|
Loading…
Reference in New Issue
Block a user