aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index e0e7404..b475655 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -801,7 +801,8 @@ target_link_libraries(tlslegacytest ${OPENSSL_TEST_LIBS})
801add_platform_test(tlslegacytest tlslegacytest) 801add_platform_test(tlslegacytest tlslegacytest)
802 802
803# tlstest 803# tlstest
804if(NOT CMAKE_SYSTEM_NAME MATCHES "WindowsStore") 804# Emscripten does not support socketpair syscall.
805if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN))
805 set(TLSTEST_SRC tlstest.c) 806 set(TLSTEST_SRC tlstest.c)
806 check_function_exists(pipe2 HAVE_PIPE2) 807 check_function_exists(pipe2 HAVE_PIPE2)
807 if(HAVE_PIPE2) 808 if(HAVE_PIPE2)