diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-12-29 20:33:32 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-12-29 20:33:32 +0100 |
commit | f3a6c3152cbe58d2867e26133841b9987aee4314 (patch) | |
tree | 76ca911533daf7d461d3c3a5daf97affc2e07244 /tests/unittests | |
parent | 80d7ccb522486160f957cc5d0576f3c9d7b1f2aa (diff) | |
download | libssh-f3a6c3152cbe58d2867e26133841b9987aee4314.tar.gz libssh-f3a6c3152cbe58d2867e26133841b9987aee4314.tar.xz libssh-f3a6c3152cbe58d2867e26133841b9987aee4314.zip |
cmake: Don't build torture_rand on Windows.
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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) |