diff options
Diffstat (limited to 'apps/openssl/CMakeLists.txt')
-rw-r--r-- | apps/openssl/CMakeLists.txt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index bb058e1..2a84178 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt | |||
@@ -61,14 +61,6 @@ if(WIN32) | |||
61 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/poll_win.c) | 61 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/poll_win.c) |
62 | endif() | 62 | endif() |
63 | 63 | ||
64 | check_function_exists(strtonum HAVE_STRTONUM) | ||
65 | if(HAVE_STRTONUM AND CMAKE_SYSTEM_NAME MATCHES "Darwin" AND | ||
66 | CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 20) | ||
67 | add_definitions(-DHAVE_STRTONUM) | ||
68 | else() | ||
69 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/strtonum.c) | ||
70 | endif() | ||
71 | |||
72 | if(CMAKE_SYSTEM_NAME MATCHES "Darwin") | 64 | if(CMAKE_SYSTEM_NAME MATCHES "Darwin") |
73 | check_function_exists(clock_gettime HAVE_CLOCK_GETTIME) | 65 | check_function_exists(clock_gettime HAVE_CLOCK_GETTIME) |
74 | if(NOT HAVE_CLOCK_GETTIME) | 66 | if(NOT HAVE_CLOCK_GETTIME) |