find openGL in Carbon

This commit is contained in:
Yves Starreveld 2002-05-18 16:09:40 -04:00
parent 1052a6700f
commit 2ed628d59d
1 changed files with 1 additions and 1 deletions

View File

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