gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 163/254: cmake: fix build on Ubuntu 14.04


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 163/254: cmake: fix build on Ubuntu 14.04
Date: Sat, 17 Jun 2017 16:53:15 +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 b4d6b994454890269e79b439ac5d1492a626e9a6
Author: Akhil Kedia <address@hidden>
AuthorDate: Mon May 22 17:34:45 2017 +0900

    cmake: fix build on Ubuntu 14.04
    
    Fixed a syntax error with setting cache variables (The type and
    docstring were missing), resulting in build errors.  Quoted the
    CURL_CA_PATH and CURL_CA_BUNDLE otherwise the path was written without
    quotes in C code, resulting in build errors.
    
    Closes #1503
    
    Signed-off-by: Akhil <address@hidden>
---
 CMakeLists.txt          | 4 ++--
 lib/curl_config.h.cmake | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 078512056..99bfc7695 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -674,7 +674,7 @@ elseif(CURL_CA_PATH_AUTODETECT OR CURL_CA_BUNDLE_AUTODETECT)
             if(EXISTS "${SEARCH_CA_BUNDLE_PATH}")
                 message(STATUS "Found CA bundle: ${SEARCH_CA_BUNDLE_PATH}")
                 set(CURL_CA_BUNDLE "${SEARCH_CA_BUNDLE_PATH}")
-                set(CURL_CA_BUNDLE_SET TRUE CACHE)
+                set(CURL_CA_BUNDLE_SET TRUE CACHE BOOL "Path to the CA bundle 
has been set")
                 break()
             endif()
         endforeach()
@@ -683,7 +683,7 @@ elseif(CURL_CA_PATH_AUTODETECT OR CURL_CA_BUNDLE_AUTODETECT)
     if(CURL_CA_PATH_AUTODETECT AND (NOT CURL_CA_PATH_SET))
         if(EXISTS "/etc/ssl/certs")
             set(CURL_CA_PATH "/etc/ssl/certs")
-            set(CURL_CA_PATH_SET TRUE CACHE)
+            set(CURL_CA_PATH_SET TRUE CACHE BOOL "Path to the CA bundle has 
been set")
         endif()
     endif()
 endif()
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index b5b957f54..812d96977 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -4,13 +4,13 @@
 #cmakedefine BUILDING_LIBCURL 1
 
 /* Location of default ca bundle */
-#cmakedefine CURL_CA_BUNDLE ${CURL_CA_BUNDLE}
+#cmakedefine CURL_CA_BUNDLE "${CURL_CA_BUNDLE}"
 
 /* define "1" to use built-in ca store of TLS backend */
 #cmakedefine CURL_CA_FALLBACK 1
 
 /* Location of default ca path */
-#cmakedefine CURL_CA_PATH ${CURL_CA_PATH}
+#cmakedefine CURL_CA_PATH "${CURL_CA_PATH}"
 
 /* to disable cookies support */
 #cmakedefine CURL_DISABLE_COOKIES 1

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



reply via email to

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