aboutsummaryrefslogtreecommitdiff
path: root/apps/openssl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'apps/openssl/CMakeLists.txt')
-rw-r--r--apps/openssl/CMakeLists.txt8
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)
62endif() 62endif()
63 63
64check_function_exists(strtonum HAVE_STRTONUM)
65if(HAVE_STRTONUM AND CMAKE_SYSTEM_NAME MATCHES "Darwin" AND
66 CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 20)
67 add_definitions(-DHAVE_STRTONUM)
68else()
69 set(OPENSSL_SRC ${OPENSSL_SRC} compat/strtonum.c)
70endif()
71
72if(CMAKE_SYSTEM_NAME MATCHES "Darwin") 64if(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)