<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I am using find_package to find the OpenCL install on my system.<br></div>Finding the package sets OPENCL_FOUND to true.<br></div>I would like to create a #define in the code that will match this cmake variable,<br></div>so I have set<br><br>#cmakedefine HAVE_OPENCL @OPENCL_FOUND@<br><br></div>in my <a href="http://config.h.cmake.in">config.h.cmake.in</a> file.<br><br></div>However, I get<br><br>/* #undef HAVE_OPENCL */<br><br></div>in the corresponding include file.<br><br></div>Thanks,<br></div>Aaron<br><div><div><div><br><br></div></div></div></div>