diff options
Diffstat (limited to 'external/unbound/CMakeLists.txt')
-rw-r--r-- | external/unbound/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/external/unbound/CMakeLists.txt b/external/unbound/CMakeLists.txt index 63ce2d228..4edb51230 100644 --- a/external/unbound/CMakeLists.txt +++ b/external/unbound/CMakeLists.txt @@ -31,7 +31,7 @@ cmake_minimum_required(VERSION 2.8.7) project(unbound C) if (APPLE) - if (not OpenSSL_DIR) + if (NOT OpenSSL_DIR) EXECUTE_PROCESS(COMMAND brew --prefix openssl OUTPUT_VARIABLE OPENSSL_ROOT_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) @@ -168,6 +168,11 @@ elseif (WIN32) compat/getentropy_win.c) endif () +if (NOT HAVE_ISBLANK) + list(APPEND compat_src + compat/isblank.c) +endif () + if (NOT HAVE_GETADDRINFO) list(APPEND compat_src compat/fake-rfc2553.c) |