googletest
googletest copied to clipboard
CMake compatible with Intel oneAPI >= 2025.2
Intel oneAPI 2025.2 made C++ flag changes that cause any CMake project using googletest (including HEAD) to fail builds. This patch fixes that.
GitHub Actions logs showing failure before, and working after this patch are at https://github.com/scivision/googletest-oneapi-demo/wiki
ref: https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/oneAPI-2025-2-warning-10430-Wno-implicit-float-size-conversion/m-p/1699832/highlight/true#M4492
Fixes: https://github.com/google/googletest/issues/4797