From d69023c9d78714f5e730e98bb251c8d0f723688a Mon Sep 17 00:00:00 2001 From: Vincas Dargis Date: Sat, 14 Oct 2017 19:30:50 +0300 Subject: [PATCH] fix(build): do not build unix-specific test on Windows Modify CMake file to build posixsignalnotifier test only on UNIX-like systems. --- cmake/Testing.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/Testing.cmake b/cmake/Testing.cmake index 082d221f0..c9f9304ff 100644 --- a/cmake/Testing.cmake +++ b/cmake/Testing.cmake @@ -22,4 +22,6 @@ auto_test(core toxpk) auto_test(core toxid) auto_test(chatlog textformatter) auto_test(net toxmedata) -auto_test(platform posixsignalnotifier) +if (UNIX) + auto_test(platform posixsignalnotifier) +endif()