find openGL in Carbon
This commit is contained in:
parent
1052a6700f
commit
2ed628d59d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue