From fa8bc17ef386acf2626e3644d796e956c976273b Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Fri, 1 Jun 2018 14:44:42 +0200 Subject: [PATCH] Problem: CMake error on Win32 with DRAFTS disabled Solution: guard CMake statement properly --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8dd6aca4..df7cb1d2 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -224,7 +224,7 @@ if(WIN32 AND ${POLLER} MATCHES "epoll") set_tests_properties(test_many_sockets PROPERTIES TIMEOUT 120) endif() -if(WIN32) +if(WIN32 AND ENABLE_DRAFTS) set_tests_properties(test_radio_dish PROPERTIES TIMEOUT 30) endif()