summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-10 15:37:29 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-10 15:37:29 (GMT)
commit1fe4220669ba7b7497ac341074c1d56f8f156a02 (patch)
treecd29be8845f1ade24e5e07cb07cbe12602445cb2 /Modules/FindOpenGL.cmake
parent8b07c96090135f541163b31d35f42f9034387e99 (diff)
downloadCMake-1fe4220669ba7b7497ac341074c1d56f8f156a02.zip
CMake-1fe4220669ba7b7497ac341074c1d56f8f156a02.tar.gz
CMake-1fe4220669ba7b7497ac341074c1d56f8f156a02.tar.bz2
STYLE: remove unnecessary default search paths
Alex
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake30
1 files changed, 4 insertions, 26 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index 7b47476..edea06a 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -18,21 +18,11 @@
IF (WIN32)
IF (CYGWIN)
- FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h
- /usr/include
- /usr/include/w32api
- /usr/X11R6/include
- )
+ FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h )
- FIND_LIBRARY(OPENGL_gl_LIBRARY opengl32
- /usr/lib
- /usr/lib/w32api
- )
+ FIND_LIBRARY(OPENGL_gl_LIBRARY opengl32 )
- FIND_LIBRARY(OPENGL_glu_LIBRARY glu32
- /usr/lib
- /usr/lib/w32api
- )
+ FIND_LIBRARY(OPENGL_glu_LIBRARY glu32 )
ELSE (CYGWIN)
@@ -66,29 +56,20 @@ ELSE (WIN32)
FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h
/usr/share/doc/NVIDIA_GLX-1.0/include
- /usr/include
- /usr/local/include
/usr/openwin/share/include
/opt/graphics/OpenGL/include
- /usr/X11R6/include
)
FIND_PATH(OPENGL_xmesa_INCLUDE_DIR GL/xmesa.h
/usr/share/doc/NVIDIA_GLX-1.0/include
- /usr/include
- /usr/local/include
/usr/openwin/share/include
/opt/graphics/OpenGL/include
- /usr/X11R6/include
)
FIND_LIBRARY(OPENGL_gl_LIBRARY
NAMES GL MesaGL
- PATHS /usr/lib
- /usr/local/lib
- /opt/graphics/OpenGL/lib
+ PATHS /opt/graphics/OpenGL/lib
/usr/openwin/lib
- /usr/X11R6/lib
/usr/shlib
)
@@ -111,11 +92,8 @@ ELSE (WIN32)
FIND_LIBRARY(OPENGL_glu_LIBRARY
NAMES GLU MesaGLU
PATHS ${OPENGL_gl_LIBRARY}
- /usr/lib
- /usr/local/lib
/opt/graphics/OpenGL/lib
/usr/openwin/lib
- /usr/X11R6/lib
/usr/shlib
)