[Cmake-commits] [cmake-commits] hoffman committed FindOpenGL.cmake 1.41 1.42
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Jun 15 12:39:14 EDT 2009
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv24710
Modified Files:
FindOpenGL.cmake
Log Message:
ENH: add more search paths on HPUX
Index: FindOpenGL.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindOpenGL.cmake,v
retrieving revision 1.41
retrieving revision 1.42
diff -C 2 -d -r1.41 -r1.42
*** FindOpenGL.cmake 19 Aug 2008 19:59:58 -0000 1.41
--- FindOpenGL.cmake 15 Jun 2009 16:39:12 -0000 1.42
***************
*** 46,49 ****
--- 46,56 ----
ELSE(APPLE)
+ # Handle HP-UX cases where we only want to find OpenGL in either hpux64
+ # or hpux32 depending on if we're doing a 64 bit build.
+ IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
+ SET(HPUX_IA_OPENGL_LIB_PATH /opt/graphics/OpenGL/lib/hpux32/)
+ ELSE(CMAKE_SIZEOF_VOID_P EQUAL 4)
+ SET(HPUX_IA_OPENGL_LIB_PATH /opt/graphics/OpenGL/lib/hpux64/)
+ ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 4)
# The first line below is to make sure that the proper headers
***************
*** 72,75 ****
--- 79,83 ----
/usr/openwin/lib
/usr/shlib /usr/X11R6/lib
+ ${HPUX_IA_OPENGL_LIB_PATH}
)
More information about the Cmake-commits
mailing list