aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_config.h.cmake
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-11-26 22:05:21 +0000
committerPeter Wu <peter@lekensteyn.nl>2019-12-04 21:34:02 +0000
commit87b9337c8f76c21c57b204e88b68c6ecf3bd1ac0 (patch)
tree136d3cd468fb8f08411029bda7ea401679033090 /lib/curl_config.h.cmake
parent3b8bbbbd1609c638a3d3d0acb148a33dedb67be3 (diff)
CMake: add support for building with the NSS vtls backend
Options are cross-checked with configure.ac and acinclude.m4. Tested on Arch Linux, untested on other platforms like Windows or macOS. Closes #4663 Reviewed-by: Kamil Dudka
Diffstat (limited to 'lib/curl_config.h.cmake')
-rw-r--r--lib/curl_config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 60837d4f4..d95fe94fd 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -960,6 +960,9 @@ ${SIZEOF_TIME_T_CODE}
/* if NSS is enabled */
#cmakedefine USE_NSS 1
+/* if you have the PK11_CreateManagedGenericObject function */
+#cmakedefine HAVE_PK11_CREATEMANAGEDGENERICOBJECT 1
+
/* if you want to use OpenLDAP code instead of legacy ldap implementation */
#cmakedefine USE_OPENLDAP 1