aboutsummaryrefslogtreecommitdiff
path: root/plugins/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CMakeLists.txt')
-rw-r--r--plugins/CMakeLists.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 1ac73180..9a3b9763 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -1,4 +1,9 @@
-add_subdirectory(gpgme-vala)
-add_subdirectory(omemo)
-add_subdirectory(openpgp)
-add_subdirectory(signal-protocol)
+if(NOT WITHOUT_OPENPGP)
+ add_subdirectory(gpgme-vala)
+ add_subdirectory(openpgp)
+endif(NOT WITHOUT_OPENPGP)
+
+if(NOT WITHOUT_OMEMO)
+ add_subdirectory(omemo)
+ add_subdirectory(signal-protocol)
+endif(NOT WITHOUT_OMEMO)