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:
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)