> > 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 gregsh...@geocities.com _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake