ERR: remove automatic Carbon framework on osx
This commit is contained in:
parent
22ae78d92f
commit
c8ed9d7452
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue