diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8f647b1..845c23f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -693,7 +693,7 @@ set_tests_properties(shutdowntest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_D | |||
| 693 | # Emscripten does not support socketpair syscall. | 693 | # Emscripten does not support socketpair syscall. |
| 694 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) | 694 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) |
| 695 | set(SIGNERTEST_SRC signertest.c) | 695 | set(SIGNERTEST_SRC signertest.c) |
| 696 | check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) | 696 | check_symbol_exists(pipe2 "fcntl.h;unistd.h" HAVE_PIPE2) |
| 697 | if(HAVE_PIPE2) | 697 | if(HAVE_PIPE2) |
| 698 | add_definitions(-DHAVE_PIPE2) | 698 | add_definitions(-DHAVE_PIPE2) |
| 699 | else() | 699 | else() |
| @@ -809,7 +809,7 @@ add_platform_test(tlslegacytest tlslegacytest) | |||
| 809 | # Emscripten does not support socketpair syscall. | 809 | # Emscripten does not support socketpair syscall. |
| 810 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) | 810 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) |
| 811 | set(TLSTEST_SRC tlstest.c) | 811 | set(TLSTEST_SRC tlstest.c) |
| 812 | check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) | 812 | check_symbol_exists(pipe2 "fcntl.h;unistd.h" HAVE_PIPE2) |
| 813 | if(HAVE_PIPE2) | 813 | if(HAVE_PIPE2) |
| 814 | add_definitions(-DHAVE_PIPE2) | 814 | add_definitions(-DHAVE_PIPE2) |
| 815 | else() | 815 | else() |
