summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-11 14:50:22 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-11 14:50:22 (GMT)
commitd2ef193a31e1ba68efdf910e129491bc3f5fc733 (patch)
treeac447aa11583abd73eca3eb006a2bcbc08a2f34d
parenta32c7c39d76137ecbfd50e6c4e3d52a32f949323 (diff)
downloadCMake-d2ef193a31e1ba68efdf910e129491bc3f5fc733.zip
CMake-d2ef193a31e1ba68efdf910e129491bc3f5fc733.tar.gz
CMake-d2ef193a31e1ba68efdf910e129491bc3f5fc733.tar.bz2
Moving this very specific module to VTK.
-rw-r--r--Modules/FindMangledMesa.cmake23
-rw-r--r--Modules/FindOSMesa.cmake29
2 files changed, 0 insertions, 52 deletions
diff --git a/Modules/FindMangledMesa.cmake b/Modules/FindMangledMesa.cmake
deleted file mode 100644
index df67c2c..0000000
--- a/Modules/FindMangledMesa.cmake
+++ /dev/null
@@ -1,23 +0,0 @@
-# Try to find mangled Mesa libraries and include dir.
-# Once done this will define
-#
-# MANGLED_MESA_INCLUDE_DIR
-# MANGLED_MESA_LIBRARY
-# MANGLED_OSMESA_INCLUDE_DIR
-# MANGLED_OSMESA_LIBRARY
-
-IF (NOT MANGLED_MESA_INCLUDE_DIR)
- FIND_PATH(MANGLED_MESA_INCLUDE_DIR GL/gl_mangle.h )
-ENDIF (NOT MANGLED_MESA_INCLUDE_DIR)
-
-IF (NOT MANGLED_MESA_LIBRARY)
- FIND_LIBRARY(MANGLED_MESA_LIBRARY MesaGL)
-ENDIF (NOT MANGLED_MESA_LIBRARY)
-
-IF (NOT MANGLED_OSMESA_INCLUDE_DIR)
- FIND_PATH(MANGLED_OSMESA_INCLUDE_DIR GL/osmesa.h)
-ENDIF (NOT MANGLED_OSMESA_INCLUDE_DIR)
-
-IF (NOT MANGLED_OSMESA_LIBRARY)
- FIND_LIBRARY(MANGLED_OSMESA_LIBRARY OSMesa)
-ENDIF (NOT MANGLED_OSMESA_LIBRARY)
diff --git a/Modules/FindOSMesa.cmake b/Modules/FindOSMesa.cmake
deleted file mode 100644
index edb8fdd..0000000
--- a/Modules/FindOSMesa.cmake
+++ /dev/null
@@ -1,29 +0,0 @@
-# Try to find Mesa off-screen library and include dir.
-# Once done this will define
-#
-# OSMESA_INCLUDE_DIR - where the GL/osmesa.h can be found
-# OSMESA_LIBRARY - Link this to use OSMesa
-
-
-IF (NOT OSMESA_INCLUDE_DIR)
- FIND_PATH(OSMESA_INCLUDE_DIR GL/osmesa.h
- /usr/include
- /usr/local/include
- /usr/openwin/share/include
- /opt/graphics/OpenGL/include
- /usr/X11R6/include
- )
-ENDIF (NOT OSMESA_INCLUDE_DIR)
-
-# This may be left blank if OSMesa symbols are included
-# in the main Mesa library
-IF (NOT OSMESA_LIBRARY)
- FIND_LIBRARY(OSMESA_LIBRARY OSMesa
- /usr/lib
- /usr/local/lib
- /opt/graphics/OpenGL/lib
- /usr/openwin/lib
- /usr/X11R6/lib
- )
-ENDIF (NOT OSMESA_LIBRARY)
-