aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2022-01-05 13:57:36 +0100
committerMarvin W <git@larma.de>2022-01-09 17:04:34 +0100
commit82a492b33f1232c26db75dbef2d94a800161d466 (patch)
tree5d41592ece6b3ed44a4156da755660a9266e21bc /plugins
parentc5461b8536b6171aea17d0e97d41710988b73534 (diff)
downloaddino-82a492b33f1232c26db75dbef2d94a800161d466.tar.gz
dino-82a492b33f1232c26db75dbef2d94a800161d466.zip
Remove GStreamer dependencies from main
Fixes #1060
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt34
1 files changed, 9 insertions, 25 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 8ff9e16f..4322232b 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -1,25 +1,9 @@
-if(DINO_PLUGIN_ENABLED_http-files)
- add_subdirectory(http-files)
-endif(DINO_PLUGIN_ENABLED_http-files)
-
-if(DINO_PLUGIN_ENABLED_ice)
- add_subdirectory(ice)
-endif(DINO_PLUGIN_ENABLED_ice)
-
-if(DINO_PLUGIN_ENABLED_rtp)
- add_subdirectory(rtp)
-endif(DINO_PLUGIN_ENABLED_rtp)
-
-if(DINO_PLUGIN_ENABLED_openpgp)
- add_subdirectory(gpgme-vala)
- add_subdirectory(openpgp)
-endif(DINO_PLUGIN_ENABLED_openpgp)
-
-if(DINO_PLUGIN_ENABLED_omemo)
- add_subdirectory(omemo)
- add_subdirectory(signal-protocol)
-endif(DINO_PLUGIN_ENABLED_omemo)
-
-if(DINO_PLUGIN_ENABLED_notification-sound)
- add_subdirectory(notification-sound)
-endif(DINO_PLUGIN_ENABLED_notification-sound)
+foreach(plugin ${PLUGINS})
+ if ("omemo" STREQUAL ${plugin})
+ add_subdirectory(signal-protocol)
+ endif ()
+ if ("openpgp" STREQUAL ${plugin})
+ add_subdirectory(gpgme-vala)
+ endif ()
+ add_subdirectory(${plugin})
+endforeach(plugin)