Update plugin subdir variable

master
Simon Stürz 2017-07-26 11:55:08 +02:00 committed by Michael Zanetti
parent 409b930925
commit 74ccb04622
1 changed files with 3 additions and 3 deletions

View File

@ -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")
}