Update plugin subdir variable
This commit is contained in:
parent
409b930925
commit
74ccb04622
@ -1,6 +1,6 @@
|
|||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
|
|
||||||
PLUGINS_DIRS = \
|
PLUGIN_DIRS = \
|
||||||
elro \
|
elro \
|
||||||
intertechno \
|
intertechno \
|
||||||
networkdetector \
|
networkdetector \
|
||||||
@ -45,7 +45,7 @@ contains(CONFIG, selection) {
|
|||||||
|
|
||||||
# Check each plugin if the subdir exists
|
# Check each plugin if the subdir exists
|
||||||
for(plugin, PLUGINS) {
|
for(plugin, PLUGINS) {
|
||||||
contains(PLUGINS_DIRS, $${plugin}) {
|
contains(PLUGIN_DIRS, $${plugin}) {
|
||||||
SUBDIRS*= $${plugin}
|
SUBDIRS*= $${plugin}
|
||||||
} else {
|
} else {
|
||||||
error("Invalid plugin passed. There is no subdirectory with the name $${plugin}.")
|
error("Invalid plugin passed. There is no subdirectory with the name $${plugin}.")
|
||||||
@ -55,7 +55,7 @@ contains(CONFIG, selection) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
all {
|
all {
|
||||||
SUBDIRS *= $${PLUGINS_DIRS}
|
SUBDIRS *= $${PLUGIN_DIRS}
|
||||||
message("Building all plugins")
|
message("Building all plugins")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user