Never mind, figured it out :)
#cmakedefine OPENCL_FOUND
On Thu, Jul 27, 2017 at 9:23 AM, Aaron Boxer wrote:
> Hello,
>
> I am using find_package to find the OpenCL install on my system.
> Finding the package sets OPENCL_FOUND to true.
> I would like to create a #define in the code that will mat
Hello,
I am using find_package to find the OpenCL install on my system.
Finding the package sets OPENCL_FOUND to true.
I would like to create a #define in the code that will match this cmake
variable,
so I have set
#cmakedefine HAVE_OPENCL @OPENCL_FOUND@
in my config.h.cmake.in file.
However, I