From f4d5ae5c86b6461413cb4603fd64151cc1a0c047 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 6 Aug 2015 16:43:02 -0500 Subject: [PATCH] CMake: Do not automatically include testsuite subproject on Windows --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b425ee1f48..375ee33e1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,8 @@ ADD_SUBDIRECTORY(cmake/config) # has to be included after source ADD_SUBDIRECTORY(contrib) # has to be included after source ADD_SUBDIRECTORY(examples) -IF(DEAL_II_HAVE_TESTS_DIRECTORY) +# Do not automatically include the testsuite subproject on Windows. +IF(DEAL_II_HAVE_TESTS_DIRECTORY AND NOT DEAL_II_MSVC) ADD_SUBDIRECTORY(tests) ENDIF() -- 2.39.5