Running a very common Ubuntu 12.4.3 building from repo could not find the GLEW library.
This commit is contained in:
parent
a3f0e450ab
commit
056800997a
|
@ -1,8 +1,8 @@
|
||||||
# Copyright (c) 2009 Boudewijn Rempt <boud@valdyas.org>
|
# Copyright (c) 2009 Boudewijn Rempt <boud@valdyas.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||||
#
|
#
|
||||||
# - try to find glew library and include files
|
# - try to find glew library and include files
|
||||||
# GLEW_INCLUDE_DIR, where to find GL/glew.h, etc.
|
# GLEW_INCLUDE_DIR, where to find GL/glew.h, etc.
|
||||||
# GLEW_LIBRARIES, the libraries to link against
|
# GLEW_LIBRARIES, the libraries to link against
|
||||||
|
@ -24,7 +24,7 @@ IF (WIN32)
|
||||||
|
|
||||||
|
|
||||||
ELSE(CYGWIN)
|
ELSE(CYGWIN)
|
||||||
|
|
||||||
FIND_PATH( GLEW_INCLUDE_DIR GL/glew.h
|
FIND_PATH( GLEW_INCLUDE_DIR GL/glew.h
|
||||||
$ENV{GLEW_ROOT_PATH}/include
|
$ENV{GLEW_ROOT_PATH}/include
|
||||||
)
|
)
|
||||||
|
@ -67,6 +67,8 @@ ELSE (WIN32)
|
||||||
FIND_LIBRARY( GLEW_GLEW_LIBRARY GLEW
|
FIND_LIBRARY( GLEW_GLEW_LIBRARY GLEW
|
||||||
/usr/openwin/lib
|
/usr/openwin/lib
|
||||||
/usr/X11R6/lib
|
/usr/X11R6/lib
|
||||||
|
/usr/lib
|
||||||
|
/usr/lib/x86_64-linux-gnu
|
||||||
)
|
)
|
||||||
|
|
||||||
ENDIF (APPLE)
|
ENDIF (APPLE)
|
||||||
|
|
Loading…
Reference in New Issue