Hi,
I can't seem to get OSX to include my framework directory.
Here is what my cmake file looks like:
MESSAGE (STATUS "OPENCL_INCLUDE_DIR = ${OPENCL_INCLUDE_DIR}")
INCLUDE_DIRECTORIES (${OPENCL_INCLUDE_DIR})
ADD_EXECUTABLE(opencl_test opencl_test.cxx)
TARGET_LINK_LIBRARIES(opencl_test ${OPENCL_LIBRARIES})
The message statement says this:
-- OPENCL_INCLUDE_DIR = /System/Library/Frameworks/OpenCL.framework
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.
Thanks,
Greg Sharp
[email protected]
_______________________________________________
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