]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: enable `-pedantic-errors` for clang when `CURL_WERROR=ON`
authorViktor Szakats <commit@vsz.me>
Thu, 4 Apr 2024 21:22:37 +0000 (21:22 +0000)
committerViktor Szakats <commit@vsz.me>
Fri, 5 Apr 2024 13:05:36 +0000 (13:05 +0000)
commit11d27cf341972f3e901ecc12dbfe543cbcf569ef
tree2aefe4fa4535ec7bae77a5d3e96f16e4e4f54e0b
parentf43545e91ba2c35c8e611969f3a41a5b303dd3a8
cmake: enable `-pedantic-errors` for clang when `CURL_WERROR=ON`

clang doesn't have the issues of GCC and old CMake versions.

Note: This introduces asymmetry with autotools, which only enables
this for GCC.

Reviewed-by: Daniel Stenberg
Closes #13286
CMake/PickyWarnings.cmake