summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-03 22:01:40 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-03 22:01:40 (GMT)
commit2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225 (patch)
tree156d6cdcd46d3c027646ccb0618efa7178af5d5a /Modules
parentb545988c0b33cefccbc78bdaa97fe268a5176754 (diff)
downloadCMake-2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225.zip
CMake-2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225.tar.gz
CMake-2bdcc9ae7e98c840c53d63d7b5fb5d6b66650225.tar.bz2
ENH: fix debugging with borland
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindOpenGL.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindOpenGL.cmake b/Modules/FindOpenGL.cmake
index ce0f14a..4276512 100644
--- a/Modules/FindOpenGL.cmake
+++ b/Modules/FindOpenGL.cmake
@@ -7,7 +7,11 @@
#
IF (WIN32)
- SET (OPENGL_LIBRARY opengl32 CACHE STRING "OpenGL library for win32")
+ IF(BORLAND)
+ SET (OPENGL_LIBRARY import32 CACHE STRING "OpenGL library for win32")
+ ELSE(BORLAND)
+ SET (OPENGL_LIBRARY opengl32 CACHE STRING "OpenGL library for win32")
+ ENDIF(BORLAND)
ELSE (WIN32)
FIND_PATH(OPENGL_INCLUDE_PATH GL/gl.h
/usr/include