libwebp/cmake
James Zern 327ef24fbd cpu.cmake: fix compiler flag detection w/3.17.0+
Between 3.17.0 and 3.18.2 check_cxx_compiler_flag() sets a normal
variable at parent scope while check_cxx_source_compiles() continues to
set an internal cache variable, so we unset both to avoid the failure /
success state persisting between checks.

This was fixed in 3.18.3 [1], but regressed shortly afterward [2];
currently seen with 3.20.0 installed via homebrew.

[1] https://gitlab.kitware.com/cmake/cmake/-/issues/21207
[2]
90dead024c CheckCompilerFlag: unified way to check compiler flags per language

Change-Id: I57282f89b07a9cfd85aca7569380f7d115c0b3cf
2021-07-05 18:16:55 -07:00
..
config.h.in Fix check_c_source_compiles with pthread. 2021-01-19 23:15:16 +01:00
cpu.cmake cpu.cmake: fix compiler flag detection w/3.17.0+ 2021-07-05 18:16:55 -07:00
deps.cmake *.cmake: add license header 2021-04-12 17:28:15 -07:00
WebPConfig.cmake.in WebPConfig.config.in: correct WEBP_INCLUDE_DIRS 2021-06-25 10:49:14 -07:00