diff options
| -rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index cd00514..5788805 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -62,7 +62,8 @@ add_platform_test(apitest apitest) | |||
| 62 | 62 | ||
| 63 | # arc4randomforktest | 63 | # arc4randomforktest |
| 64 | # Windows/mingw does not have fork, but Cygwin does. | 64 | # Windows/mingw does not have fork, but Cygwin does. |
| 65 | if(NOT (WIN32 OR (CMAKE_SYSTEM_NAME MATCHES "MINGW"))) | 65 | # Emscripten does not have fork. |
| 66 | if(NOT (WIN32 OR (CMAKE_SYSTEM_NAME MATCHES "MINGW") OR EMSCRIPTEN)) | ||
| 66 | add_executable(arc4randomforktest arc4randomforktest.c) | 67 | add_executable(arc4randomforktest arc4randomforktest.c) |
| 67 | target_link_libraries(arc4randomforktest ${OPENSSL_TEST_LIBS}) | 68 | target_link_libraries(arc4randomforktest ${OPENSSL_TEST_LIBS}) |
| 68 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) | 69 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) |
