[CMake] OpenGL on Mac OS X
William A. Hoffman
billlist at nycap.rr.com
Tue Mar 1 06:58:55 EST 2005
The default is to use -framework. You would have to post your CMakeList file.
If you do INCLUDE(FindOpenGL) it will use -framework OpenGL. There must
be something else in your project that is changing the default.
-Bill
At 01:38 AM 3/1/2005, Won-Ki Jeong wrote:
>Hi... I am a newbie in Mac OS X, and trying to compile openGL program using cmake. I use cmake ver 2.0.5. When I generate Makefile using cmake, it picks up -lGL instead of -framework OpenGL, etc. It seems that FindOpenGL.cmake is also correct but it alwas links to X11 openGL. How can I fix this?
>
>Won-Ki
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list