diff options
| -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 d81d012..f79f69e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -676,7 +676,7 @@ set_tests_properties(shutdowntest PROPERTIES ENVIRONMENT "srcdir=${TEST_SOURCE_D | |||
| 676 | # Emscripten does not support socketpair syscall. | 676 | # Emscripten does not support socketpair syscall. |
| 677 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) | 677 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) |
| 678 | set(SIGNERTEST_SRC signertest.c) | 678 | set(SIGNERTEST_SRC signertest.c) |
| 679 | check_function_exists(pipe2 HAVE_PIPE2) | 679 | check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) |
| 680 | if(HAVE_PIPE2) | 680 | if(HAVE_PIPE2) |
| 681 | add_definitions(-DHAVE_PIPE2) | 681 | add_definitions(-DHAVE_PIPE2) |
| 682 | else() | 682 | else() |
| @@ -792,7 +792,7 @@ add_platform_test(tlslegacytest tlslegacytest) | |||
| 792 | # Emscripten does not support socketpair syscall. | 792 | # Emscripten does not support socketpair syscall. |
| 793 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) | 793 | if(NOT (CMAKE_SYSTEM_NAME MATCHES "WindowsStore" OR EMSCRIPTEN)) |
| 794 | set(TLSTEST_SRC tlstest.c) | 794 | set(TLSTEST_SRC tlstest.c) |
| 795 | check_function_exists(pipe2 HAVE_PIPE2) | 795 | check_symbol_exists(pipe2 "fcntl.h unistd.h" HAVE_PIPE2) |
| 796 | if(HAVE_PIPE2) | 796 | if(HAVE_PIPE2) |
| 797 | add_definitions(-DHAVE_PIPE2) | 797 | add_definitions(-DHAVE_PIPE2) |
| 798 | else() | 798 | else() |
