gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 240/254: cmake: Fix inconsistency regarding mbed TL


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 240/254: cmake: Fix inconsistency regarding mbed TLS include directory
Date: Sat, 17 Jun 2017 16:54:32 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 01596dbadf5515da6282b210dcaf2dba724c7e81
Author: TheAssassin <address@hidden>
AuthorDate: Mon Jun 5 01:02:56 2017 +0200

    cmake: Fix inconsistency regarding mbed TLS include directory
    
    Previously, one had to set MBEDTLS_INCLUDE_DIR to make CMake find the
    headers, but the system complained that mbed TLS wasn't found due to
    MBEDTLS_INCLUDE_DIRS (note the trailing s) was not set. This commit
    attempts to fix that.
    
    Closes https://github.com/curl/curl/pull/1541
---
 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 99bfc7695..d2e1c2bb6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -380,7 +380,7 @@ if(CMAKE_USE_MBEDTLS)
   set(SSL_ENABLED ON)
   set(USE_MBEDTLS ON)
   list(APPEND CURL_LIBS ${MBEDTLS_LIBRARIES})
-  include_directories(${MBEDTLS_INCLUDE_DIR})
+  include_directories(${MBEDTLS_INCLUDE_DIRS})
 endif()
 
 option(USE_NGHTTP2 "Use Nghttp2 library" OFF)
@@ -688,9 +688,9 @@ elseif(CURL_CA_PATH_AUTODETECT OR CURL_CA_BUNDLE_AUTODETECT)
     endif()
 endif()
 
-if(CURL_CA_PATH_SET AND NOT USE_OPENSSL)
+if(CURL_CA_PATH_SET AND NOT USE_OPENSSL AND NOT USE_MBEDTLS)
     message(FATAL_ERROR
-            "CA path only supported by OpenSSL, GnuTLS or PolarSSL. "
+            "CA path only supported by OpenSSL, GnuTLS or mbed TLS. "
             "Set CURL_CA_PATH=none or enable one of those TLS backends.")
 endif()
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]