find openGL in Carbon
This commit is contained in:
parent
1052a6700f
commit
2ed628d59d
|
@ -14,7 +14,7 @@ IF (WIN32)
|
||||||
ENDIF(BORLAND)
|
ENDIF(BORLAND)
|
||||||
ELSE (WIN32)
|
ELSE (WIN32)
|
||||||
IF (APPLE)
|
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)
|
ELSE (APPLE)
|
||||||
FIND_PATH(OPENGL_INCLUDE_PATH GL/gl.h
|
FIND_PATH(OPENGL_INCLUDE_PATH GL/gl.h
|
||||||
/usr/include
|
/usr/include
|
||||||
|
|
Loading…
Reference in New Issue