]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: stop adding dependency headers to global `CMAKE_REQUIRED_INCLUDES`
authorViktor Szakats <commit@vsz.me>
Sat, 5 Oct 2024 12:01:49 +0000 (14:01 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 10 Oct 2024 17:36:02 +0000 (19:36 +0200)
commit447bcea5a4e1d89bb376bab6ef0c6eb7fc4c9ad5
treec197d05d1e21d6d3301127ffafc3ed82f4446312
parent91519bfb7462cfda98dba63dc7f411f4fa173c57
cmake: stop adding dependency headers to global `CMAKE_REQUIRED_INCLUDES`

It was done for `zlib`, `brotli`, `libpsl`, `libssh2`, `wolfssh`
(a copy-paste case for `wolfssh`).

Feature detections should not rely by default on dependency headers.
There is no evidence they do now. If it becomes necessary, headers
should added for the duration of the feature check.

Ref: 118977f19d2d7e842bdf4424c7cfbc5991781412
Cherry-picked from #15157
Closes #15252
CMakeLists.txt