summaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorAkhil Kedia <akhil.kedia@samsung.com>2017-05-22 17:34:45 +0900
committerDaniel Stenberg <daniel@haxx.se>2017-05-23 10:07:08 +0200
commitb4d6b994454890269e79b439ac5d1492a626e9a6 (patch)
tree7524a93d888c718d14294e36653d4ddf1f864a29 /lib/curl_config.h.cmake
parenta1b3a95c96adb9624358c26976c5d22adeaab6ed (diff)
downloadcurl-b4d6b994454890269e79b439ac5d1492a626e9a6.tar.gz
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 <akhil.kedia@samsung.com>
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake4
1 files changed, 2 insertions, 2 deletions
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