]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake/FindLDAP: avoid framework locations for libs too (Apple)
authorViktor Szakats <commit@vsz.me>
Thu, 2 Jan 2025 01:46:00 +0000 (02:46 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 2 Jan 2025 11:55:50 +0000 (12:55 +0100)
commit772b6933bcbc0694364ef9495e3413508cfecb0c
tree3739aa7137e4385abdb84822f39ef6bcf1b3a26e
parent27b9e7670697b2474e879c25a34b2bfd0f83444b
cmake/FindLDAP: avoid framework locations for libs too (Apple)

We already avoid system framework paths while looking for LDAP headers
to avoid issues.

Do the same while looking for LDAP libraries. This makes sure to find
the regular ldap library (`libldap.tbd`) instead of picking up
`ldap.framework` and let that seep into `libcurl.pc` with a full path.

This makes LDAP detection work on Apple as before introducing FindLDAP.

Follow-up to 49f2a23d509645d534cbb2e2ffbd6347fac6e59e #15273
Closes #15895
CMake/FindLDAP.cmake