From 87b9337c8f76c21c57b204e88b68c6ecf3bd1ac0 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Tue, 26 Nov 2019 22:05:21 +0000 Subject: 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 --- lib/curl_config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/curl_config.h.cmake') 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 -- cgit v1.2.1