From bd6121596fe43de004a79668c7b84d275127fcad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Sch=C3=B6nle?= Date: Mon, 19 Nov 2018 15:04:34 +0100 Subject: [PATCH] Disable fmt-impl-test in windows + shared lib. --- test/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2a108aaf..5bb839e3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -88,8 +88,10 @@ add_fmt_test(assert-test) add_fmt_test(core-test) add_fmt_test(gtest-extra-test) add_fmt_test(format-test mock-allocator.h) -add_fmt_test(format-impl-test) add_fmt_test(locale-test) +if(NOT (MSVC AND BUILD_SHARED_LIBS)) + add_fmt_test(format-impl-test) +endif() add_fmt_test(ostream-test) add_fmt_test(printf-test) add_fmt_test(time-test)