ERR: remove automatic Carbon framework on osx

This commit is contained in:
Yves Starreveld 2002-07-18 18:43:22 -04:00
parent 22ae78d92f
commit c8ed9d7452
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ ELSE (WIN32)
# this variable is used in a IF test. So let's set it to the OpenGL
# framework. It does not harm to duplicate the OpenGL framework and it
# might even help in case OPENGL_LIBRARY is not set.
SET(GLU_LIBRARY "-framework Carbon -framework AGL -framework OpenGL" CACHE STRING "GLU library for OSX")
SET(GLU_LIBRARY "-framework AGL -framework OpenGL" CACHE STRING "GLU library for OSX")
ELSE (APPLE)
FIND_PATH(GLU_INCLUDE_PATH GL/glu.h
${OPENGL_INCLUDE_PATH}

View File

@ -14,7 +14,7 @@ IF (WIN32)
ENDIF(BORLAND)
ELSE (WIN32)
IF (APPLE)
SET(OPENGL_LIBRARY "-framework Carbon -framework AGL -framework OpenGL" CACHE STRING "OpenGL library for OSX")
SET(OPENGL_LIBRARY "-framework AGL -framework OpenGL" CACHE STRING "OpenGL library for OSX")
ELSE (APPLE)
FIND_PATH(OPENGL_INCLUDE_PATH GL/gl.h
/usr/include