forked from nymea/nymea-plugins-zigbee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugins.pri
19 lines (18 loc) · 855 Bytes
/
plugins.pri
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
isEmpty(PLUGIN_PRI) {
exists($$[QT_INSTALL_PREFIX]/include/nymea/plugin.pri) {
include($$[QT_INSTALL_PREFIX]/include/nymea/plugin.pri)
} else {
message("plugin.pri not found. Either install nymea-sdk or use the PLUGIN_PRI argument to point to it.")
message("For building this project without the nymea-sdk installed system-wide, you will want to export those variables in addition:")
message("PKG_CONFIG_PATH=/path/to/build-nymea/libnymea/pkgconfig/")
message("CPATH=/path/to/nymea/libnymea/")
message("LIBRARY_PATH=/path/to/build-nymea/libnymea/")
message("PATH=/path/to/build-nymea/tools/nymea-plugininfocompiler:$PATH")
message("LD_LIBRARY_PATH=/path/to/build-nymea/libnymea/")
error("plugin.pri not found. Cannot continue")
}
} else {
# message("Using $$PLUGIN_PRI")
include($$PLUGIN_PRI)
}
QT += network