summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenGL.cmake
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-01-09 19:00:44 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-01-09 19:00:44 (GMT)
commit75856e17627057356650be5b6547042dc8e15be6 (patch)
tree5d114d727a8bb6592d80dda9768b017d4313a822 /Modules/FindOpenGL.cmake
parent05955d64034002db93b43b6ed373d91d825a8c2b (diff)
downloadCMake-75856e17627057356650be5b6547042dc8e15be6.zip
CMake-75856e17627057356650be5b6547042dc8e15be6.tar.gz
CMake-75856e17627057356650be5b6547042dc8e15be6.tar.bz2
update to not put PROJECT_SOURCE_DIR as OPENGL_PATH
Diffstat (limited to 'Modules/FindOpenGL.cmake')
-rw-r--r--Modules/FindOpenGL.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index d956de5..7eb6d9004 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -41,16 +41,6 @@ IF (WIN32)
SET (OPENGL_glu_LIBRARY glu32 CACHE STRING "GLU library for win32")
ENDIF(BORLAND)
- # No extra include path needed because OpenGL includes are with
- # the system includes but, cmake will create makefiles with
- # "-I${OPENGL_INCLUDE_DIR}" options if OPENGL_INCLUDE_DIR is
- # not set. OPENGL_INCLUDE_DIR cannot be set to "" because the
- # resulting -I option to "cl" will eat the following
- # "-IC:\really\needed" option. This is a kludge to get around
- # cmake not ignoring INCLUDE_DIRECTORIES commands with empty
- # strings.
- SET( OPENGL_INCLUDE_DIR "${PROJECT_SOURCE_DIR}" )
-
ENDIF (CYGWIN)
ELSE (WIN32)