Problem: CMake error on Win32 with DRAFTS disabled

Solution: guard CMake statement properly
This commit is contained in:
Simon Giesecke 2018-06-01 14:44:42 +02:00
parent fc92fa897a
commit fa8bc17ef3

View File

@ -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()