[CMake] OSX framework include is not included

Gregory Sharp gregsharp.geo at yahoo.com
Sat Jul 10 12:23:00 EDT 2010


> > But the resulting g++ looks like this (no -I, no -F):
> > 
> > /usr/bin/c++     -o CMakeFiles/opencl_test.dir/opencl_test.cxx.o -c /Users/gsharp/work/test/opencl_test.cxx
> > 
> > Any ideas what is wrong?  This is CMake 2.8.1 on Darwin 10.4.0.
> 
> The question is, does it work? If you use #include <OpenCL/opencl.h>, it 
> will work without -I nor -F. So, nothing wrong, most likely.

D'oh!  It works fine.  I was confused by CL/cl.h vs OpenCL/cl.h.

Thanks for the fresh set of eyes.  :)

Greg Sharp
gregsharp at geocities.com


      



More information about the CMake mailing list