Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJocelyn Turcotte <jturcotte@woboq.com>2017-08-14 19:49:44 +0300
committerJocelyn Turcotte <jturcotte@woboq.com>2017-08-22 12:18:22 +0300
commit5c9827a33c92dbf14b16a22e1cac3d1b324492ed (patch)
tree5c9ef9f9a09d54cc3ef9611c49168b49dfa5419c /test/CMakeLists.txt
parentf0362b23322ac64f52d5a6333a571deed1b8d00e (diff)
Move csync/tests to test/csync
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 860f140e9..ebf349207 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -61,3 +61,9 @@ list(APPEND FolderMan_SRC stub.cpp )
owncloud_add_test(FolderMan "${FolderMan_SRC}")
configure_file(test_journal.db "${PROJECT_BINARY_DIR}/bin/test_journal.db" COPYONLY)
+
+find_package(CMocka)
+if (CMOCKA_FOUND)
+ include(AddCMockaTest)
+ add_subdirectory(csync)
+endif (CMOCKA_FOUND)