unset(VAR)
set(VAR "")
Also add cleanup `unset()`s where missing. Reported-by: Kai Pastor Bug: https://github.com/curl/curl/pull/15255#issuecomment-2458659626 Follow-up to 8b09138083 #14610 Closes #15497
8b09138083
Move LDAP detection to its own Find module. It supports `pkg-config` and the standard detection method used for other dependencies, with version detection. In curl CI it fixes LDAP detection in the OpenBSD job. Closes #15273