]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: apply `WIN32_LEAN_AND_MEAN` to all feature checks
authorViktor Szakats <commit@vsz.me>
Thu, 10 Oct 2024 22:38:43 +0000 (00:38 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 11 Oct 2024 15:57:03 +0000 (17:57 +0200)
commitdfd36d3ee0702ccd7cd2b784db21d8e88483af74
tree26dcf6cc6a718be4f676fd38f6dcf46af6056b00
parent8e345057761a8f796403923a96f2c8fd3edca647
cmake: apply `WIN32_LEAN_AND_MEAN` to all feature checks

Enable `WIN32_LEAN_AND_MEAN` for all feature detections on Windows.

(Also drop it from individual detections.)

Cherry-picked from #15164
CMake/CurlTests.c
CMake/OtherTests.cmake
CMakeLists.txt