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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-07-16 12:59:44 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-15 12:59:15 +0300
commit3dcbc9fa66b081bf301fd94c7da4f09b66823b65 (patch)
treee00fa23be4836570a2f9f5dca4b11fbcc149f6ba /test
parent47dc7e6c492f0b2241916c1f97a63c2efb677e79 (diff)
Tests: Port check_vio_ext to Windows
Diffstat (limited to 'test')
-rw-r--r--test/csync/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/csync/CMakeLists.txt b/test/csync/CMakeLists.txt
index 5a8336c15..8e0b3c54d 100644
--- a/test/csync/CMakeLists.txt
+++ b/test/csync/CMakeLists.txt
@@ -25,6 +25,10 @@ add_cmocka_test(check_std_c_str std_tests/check_std_c_str.c ${TEST_TARGET_LIBRAR
# vio
add_cmocka_test(check_vio_ext vio_tests/check_vio_ext.cpp ${TEST_TARGET_LIBRARIES})
+if(NOT HAVE_ASPRINTF AND NOT HAVE___MINGW_ASPRINTF)
+ target_sources(check_vio_ext PRIVATE ${PROJECT_SOURCE_DIR}/src/csync/std/asprintf.c)
+endif()
+
# encoding
add_cmocka_test(check_encoding_functions encoding_tests/check_encoding.cpp ${TEST_TARGET_LIBRARIES})