diff options
| author | Brent Cook <busterb@gmail.com> | 2019-01-02 05:36:24 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2019-01-02 05:37:35 -0600 |
| commit | c23f745179fb9ce7543bc4507cea92c98c16b4dc (patch) | |
| tree | 229c5002ee443665c1655c476e19089f3a3329f9 /tests | |
| parent | d5c155fcb8ab8d22f76e2f0b52728eade540bd67 (diff) | |
| download | portable-c23f745179fb9ce7543bc4507cea92c98c16b4dc.tar.gz portable-c23f745179fb9ce7543bc4507cea92c98c16b4dc.tar.bz2 portable-c23f745179fb9ce7543bc4507cea92c98c16b4dc.zip | |
add some defines for building Mingw cross-compiled with CMake
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 2a9389d..d3113ab 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -25,7 +25,7 @@ add_test(aes_wrap aes_wrap) | |||
| 25 | 25 | ||
| 26 | # arc4randomforktest | 26 | # arc4randomforktest |
| 27 | # Windows/mingw does not have fork, but Cygwin does. | 27 | # Windows/mingw does not have fork, but Cygwin does. |
| 28 | if(NOT CMAKE_HOST_WIN32 AND NOT CMAKE_SYSTEM_NAME MATCHES "MINGW") | 28 | if(NOT (WIN32 OR (CMAKE_SYSTEM_NAME MATCHES "MINGW"))) |
| 29 | add_executable(arc4randomforktest arc4randomforktest.c) | 29 | add_executable(arc4randomforktest arc4randomforktest.c) |
| 30 | target_link_libraries(arc4randomforktest ${OPENSSL_LIBS}) | 30 | target_link_libraries(arc4randomforktest ${OPENSSL_LIBS}) |
| 31 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) | 31 | add_test(arc4randomforktest ${CMAKE_CURRENT_SOURCE_DIR}/arc4randomforktest.sh) |
