diff options
author | Brent Cook <busterb@gmail.com> | 2019-01-31 10:00:48 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2019-01-31 13:56:56 -0600 |
commit | 5269dbb2792fe5baf239e13f36352142364e1581 (patch) | |
tree | a6e612ebf2c0d2afb8235fbd8b90d420bf186c9e /crypto | |
parent | a6d7ea956290470254e817adb2f6a3fac9397a17 (diff) | |
download | portable-5269dbb2792fe5baf239e13f36352142364e1581.tar.gz portable-5269dbb2792fe5baf239e13f36352142364e1581.tar.bz2 portable-5269dbb2792fe5baf239e13f36352142364e1581.zip |
update cmake
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 12 |
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) |
808 | endif() | 808 | endif() |
809 | 809 | ||
810 | if(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() | ||
816 | endif() | ||
817 | |||
810 | if(NOT HAVE_REALLOCARRAY) | 818 | if(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) |
847 | endif() | 855 | endif() |
848 | 856 | ||
857 | if(NOT HAVE_SYSLOG_R) | ||
858 | set(CRYPTO_SRC ${CRYPTO_SRC} compat/syslog_r.c) | ||
859 | endif() | ||
860 | |||
849 | if(NOT HAVE_TIMEGM) | 861 | if(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) |