From f3a6c3152cbe58d2867e26133841b9987aee4314 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Dec 2010 20:33:32 +0100 Subject: cmake: Don't build torture_rand on Windows. --- tests/unittests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt index 1049805b..e2e047b4 100644 --- a/tests/unittests/CMakeLists.txt +++ b/tests/unittests/CMakeLists.txt @@ -7,4 +7,6 @@ add_cmockery_test(torture_keyfiles torture_keyfiles.c ${TORTURE_LIBRARY}) add_cmockery_test(torture_list torture_list.c ${TORTURE_LIBRARY}) add_cmockery_test(torture_misc torture_misc.c ${TORTURE_LIBRARY}) add_cmockery_test(torture_options torture_options.c ${TORTURE_LIBRARY}) -add_cmockery_test(torture_rand torture_rand.c ${TORTURE_LIBRARY}) +if (UNIX AND NOT WIN32) + add_cmockery_test(torture_rand torture_rand.c ${TORTURE_LIBRARY}) +endif (UNIX AND NOT WIN32) -- cgit v1.2.3