aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2019-01-31 10:00:48 -0600
committerBrent Cook <busterb@gmail.com>2019-01-31 13:56:56 -0600
commit5269dbb2792fe5baf239e13f36352142364e1581 (patch)
treea6e612ebf2c0d2afb8235fbd8b90d420bf186c9e /crypto
parenta6d7ea956290470254e817adb2f6a3fac9397a17 (diff)
downloadportable-5269dbb2792fe5baf239e13f36352142364e1581.tar.gz
portable-5269dbb2792fe5baf239e13f36352142364e1581.tar.bz2
portable-5269dbb2792fe5baf239e13f36352142364e1581.zip
update cmake
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index a81d329..b7ce131 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -807,6 +807,14 @@ if(NOT HAVE_GETPAGESIZE)
807 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c) 807 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getpagesize.c)
808endif() 808endif()
809 809
810if(NOT HAVE_GETPROGNAME)
811 if(WIN32)
812 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getprogname_windows.c)
813 elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
814 set(CRYPTO_SRC ${CRYPTO_SRC} compat/getprogname_linux.c)
815 endif()
816endif()
817
810if(NOT HAVE_REALLOCARRAY) 818if(NOT HAVE_REALLOCARRAY)
811 set(CRYPTO_SRC ${CRYPTO_SRC} compat/reallocarray.c) 819 set(CRYPTO_SRC ${CRYPTO_SRC} compat/reallocarray.c)
812 set(EXTRA_EXPORT ${EXTRA_EXPORT} reallocarray) 820 set(EXTRA_EXPORT ${EXTRA_EXPORT} reallocarray)
@@ -846,6 +854,10 @@ if(NOT HAVE_STRSEP)
846 set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep) 854 set(EXTRA_EXPORT ${EXTRA_EXPORT} strsep)
847endif() 855endif()
848 856
857if(NOT HAVE_SYSLOG_R)
858 set(CRYPTO_SRC ${CRYPTO_SRC} compat/syslog_r.c)
859endif()
860
849if(NOT HAVE_TIMEGM) 861if(NOT HAVE_TIMEGM)
850 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timegm.c) 862 set(CRYPTO_SRC ${CRYPTO_SRC} compat/timegm.c)
851 set(EXTRA_EXPORT ${EXTRA_EXPORT} timegm) 863 set(EXTRA_EXPORT ${EXTRA_EXPORT} timegm)