summaryrefslogtreecommitdiffstats
path: root/Modules/FindGLUT.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-19 13:00:51 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-19 13:00:51 (GMT)
commitc7770b8edbff442267563bd3036cef8fdb0cc4a9 (patch)
tree1c73f377e04981e72043a9ac5fff8fef0eca343b /Modules/FindGLUT.cmake
parentb6b1ebe2950e2437fffd4eecbe3f1992fc63e812 (diff)
downloadCMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.zip
CMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.tar.gz
CMake-c7770b8edbff442267563bd3036cef8fdb0cc4a9.tar.bz2
ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the
not-too-complicated modules -remove unnecessary default search paths used in the FIND_XXX() calls Alex
Diffstat (limited to 'Modules/FindGLUT.cmake')
-rw-r--r--Modules/FindGLUT.cmake21
1 files changed, 1 insertions, 20 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake
index f6fa551..ad1d5b5 100644
--- a/Modules/FindGLUT.cmake
+++ b/Modules/FindGLUT.cmake
@@ -11,16 +11,10 @@ IF (WIN32)
IF(CYGWIN)
- FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h
- /usr/include
- )
+ FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h )
FIND_LIBRARY( GLUT_glut_LIBRARY glut32
${OPENGL_LIBRARY_DIR}
- /usr/lib
- /usr/lib/w32api
- /usr/local/lib
- /usr/X11R6/lib
)
@@ -50,36 +44,23 @@ ELSE (WIN32)
ELSE (APPLE)
FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h
- /usr/include
/usr/include/GL
- /usr/local/include
/usr/openwin/share/include
/usr/openwin/include
- /usr/X11R6/include
- /usr/include/X11
/opt/graphics/OpenGL/include
/opt/graphics/OpenGL/contrib/libglut
)
FIND_LIBRARY( GLUT_glut_LIBRARY glut
- /usr/lib
- /usr/local/lib
/usr/openwin/lib
- /usr/X11R6/lib
)
FIND_LIBRARY( GLUT_Xi_LIBRARY Xi
- /usr/lib
- /usr/local/lib
/usr/openwin/lib
- /usr/X11R6/lib
)
FIND_LIBRARY( GLUT_Xmu_LIBRARY Xmu
- /usr/lib
- /usr/local/lib
/usr/openwin/lib
- /usr/X11R6/lib
)
ENDIF (APPLE)