Commit 2495ba77 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed glew includes for mac

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6377 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9ff6c6fa
......@@ -46,7 +46,7 @@
#include <vector>
#include "gl.hh"
#include "ACG/GL/gl.hh"
#include "../Math/VectorT.hh"
#include "ColorTranslator.hh"
......
......@@ -48,7 +48,7 @@
#if defined(ARCH_DARWIN)
#include <glew.h>
#include <GL/glew.h>
#include <glut.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
......
......@@ -26,9 +26,8 @@ if( WIN32 )
NAMES ${GLEW_NAMES}
PATHS "c:/glew/lib" "c:/libs/glew/lib" ${COMPILER_PATH}/PlatformSDK/Lib )
else( WIN32 )
FIND_PATH( GLEW_INCLUDE_DIR glew.h wglew.h
PATHS /usr/local/include /usr/include
PATH_SUFFIXES gl/ GL/ )
FIND_PATH( GLEW_INCLUDE_DIR GL/glew.h GL/wglew.h
PATHS /usr/local/include /usr/include )
SET( GLEW_NAMES glew GLEW )
FIND_LIBRARY( GLEW_LIBRARY
NAMES ${GLEW_NAMES}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment