diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-01 11:10:15 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-01 11:10:15 +0100 |
commit | 6b1565bb95de59ec5bf26a38f225a14169ee1824 (patch) | |
tree | c1a3763d331eaf7b706405610d30ff4264d0408e | |
parent | 0a45ae551e2600e7c00f83ac87cf1a11e798e4fb (diff) | |
download | sink-6b1565bb95de59ec5bf26a38f225a14169ee1824.tar.gz sink-6b1565bb95de59ec5bf26a38f225a14169ee1824.zip |
Make it possible to not build the dav resource
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | examples/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0213c88..0b5092d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,6 +1,7 @@ | |||
1 | cmake_minimum_required(VERSION 2.8.12) | 1 | cmake_minimum_required(VERSION 2.8.12) |
2 | 2 | ||
3 | option(BUILD_MAILDIR "BUILD_MAILDIR" ON) | 3 | option(BUILD_MAILDIR "BUILD_MAILDIR" ON) |
4 | option(BUILD_DAV "BUILD_DAV" ON) | ||
4 | option(AVOID_BINDING_REBUILD "AVOID_BINDING_REBUILD" OFF) | 5 | option(AVOID_BINDING_REBUILD "AVOID_BINDING_REBUILD" OFF) |
5 | option(CATCH_ERRORS "CATCH_ERRORS" OFF) | 6 | option(CATCH_ERRORS "CATCH_ERRORS" OFF) |
6 | option(ENABLE_MEMCHECK "Build valgrind tests" OFF) | 7 | option(ENABLE_MEMCHECK "Build valgrind tests" OFF) |
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index abc7441..adfb5e1 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt | |||
@@ -8,4 +8,6 @@ if (BUILD_MAILDIR) | |||
8 | add_subdirectory(imapresource) | 8 | add_subdirectory(imapresource) |
9 | endif() | 9 | endif() |
10 | add_subdirectory(mailtransportresource) | 10 | add_subdirectory(mailtransportresource) |
11 | add_subdirectory(davresource) | 11 | if (BUILD_DAV) |
12 | add_subdirectory(davresource) | ||
13 | endif() | ||