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