Prefer the GLEW static library.
This commit is contained in:
parent
df13c904b2
commit
25507428c2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user