ocl-icd icon indicating copy to clipboard operation
ocl-icd copied to clipboard

please create OpenCLICDLoaderConfig.cmake

Open anbe42 opened this issue 1 year ago • 1 comments

KhronosGroup/OpenCL-ICD-Loader creates OpenCLICDLoaderConfig.cmake and friends. It would be great if ocd-icd could follow the same standard s.t. find_package(OpenCLICDLoader REQUIRED) in some project's CMakeLists.txt would work out-of-the-box. (One possible user of this would be KhronosGroup/OpenCL-CLHPP which uses that find_package call.)

anbe42 avatar Jan 17 '24 16:01 anbe42

Thanks for the suggestion. This is a good idea, I'll need to take a look. Unfortunately I am not very fluent in CMake, so I don't know when I'll be able to tackle this.

Contributions are gladly accepted though :)

Kerilk avatar Jan 23 '24 17:01 Kerilk