KhronosGroup / OpenCL-ICD-Loader

The OpenCL ICD Loader project.
Apache License 2.0
246 stars 136 forks source link

do not use CMake defines for ICD loader name and vendor strings #203

Closed bashbaug closed 1 year ago

bashbaug commented 1 year ago

Using strings in target_compile_definitions can be complicated due to escape requirements for the double quotes in various build environments. Since we don't expect the OPENCL_ICD_LOADER_NAME_STRING and OPENCL_ICD_LOADER_VENDOR_STRING to change frequently - if ever - just define them in source files instead.

Fixes #202