diff options
| author | redradist <redradist@gmail.com> | 2025-02-19 07:57:10 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2025-02-19 13:58:34 (GMT) |
| commit | 520eb40e693f9c3604cabae2e799acbb581da643 (patch) | |
| tree | 1102894fd121b7e7784903bdbb3a9ef97e7c8907 /Tests/RunCMake/FindPython/Python3SABIModule.cmake | |
| parent | 110b217c1472550818e61128afe43df362338383 (diff) | |
| download | CMake-520eb40e693f9c3604cabae2e799acbb581da643.zip CMake-520eb40e693f9c3604cabae2e799acbb581da643.tar.gz CMake-520eb40e693f9c3604cabae2e799acbb581da643.tar.bz2 | |
FindOpenCL: Fix version detection in presence of multiple versions
Previously our call to `check_symbol_exists` was passing an absolute
path to the `cl.h` header to be included. However, this might not
include its other headers correctly. We already set
`CMAKE_REQUIRED_INCLUDES` such that `CL/cl.h` can be included by
the check, so we do not need to include by absolute path.
Diffstat (limited to 'Tests/RunCMake/FindPython/Python3SABIModule.cmake')
0 files changed, 0 insertions, 0 deletions
