mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

- This deprecates the OPENCL_VERSION_STRING result variable. - Documentation adjusted. - Support for OpenCL 3.0 was added in CMake 3.24. - Added CL_TARGET_OPENCL_VERSION compile definition to test so that program compiles without warnings. - Additionally, on Apple systems compiler can't find <Headers/cl.h> unless direct path would be passed as a header. Instead, <OpenCL/cl.h> is used for version check conditionally. Issue: #27088