googletest icon indicating copy to clipboard operation
googletest copied to clipboard

CMake compatible with Intel oneAPI >= 2025.2

Open scivision opened this issue 3 months ago • 0 comments

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

scivision avatar Jul 11 '25 18:07 scivision