Prefer the GLEW static library.

This commit is contained in:
castano 2010-10-06 02:57:35 +00:00
parent df13c904b2
commit 25507428c2

View File

@ -29,8 +29,9 @@ ELSE (WIN32)
${GLEW_ROOT_DIR}/include ${GLEW_ROOT_DIR}/include
DOC "The directory where GL/glew.h resides") DOC "The directory where GL/glew.h resides")
# Prefer the static library.
FIND_LIBRARY( GLEW_LIBRARY FIND_LIBRARY( GLEW_LIBRARY
NAMES GLEW glew NAMES libGLEW.a GLEW
PATHS PATHS
/usr/lib64 /usr/lib64
/usr/lib /usr/lib