[brlcad-commits] SF.net SVN: brlcad:[42923] brlcad/branches/cmake/CMakeLists.txt
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2011-02-02 20:03:38
|
Revision: 42923 http://brlcad.svn.sourceforge.net/brlcad/?rev=42923&view=rev Author: starseeker Date: 2011-02-02 20:03:27 +0000 (Wed, 02 Feb 2011) Log Message: ----------- Don't try rtgl unless we've got X11 Modified Paths: -------------- brlcad/branches/cmake/CMakeLists.txt Modified: brlcad/branches/cmake/CMakeLists.txt =================================================================== --- brlcad/branches/cmake/CMakeLists.txt 2011-02-02 19:50:20 UTC (rev 42922) +++ brlcad/branches/cmake/CMakeLists.txt 2011-02-02 20:03:27 UTC (rev 42923) @@ -632,6 +632,10 @@ MESSAGE("RTGL requested, but OpenGL is not enabled - disabling") SET(BRLCAD-ENABLE_RTGL OFF CACHE BOOL "Enable experimental RTGL code." FORCE) ENDIF(NOT BRLCAD-ENABLE_OPENGL AND BRLCAD-ENABLE_RTGL) +IF(NOT BRLCAD-ENABLE_X11 AND BRLCAD-ENABLE_RTGL) + MESSAGE("RTGL currently works only with GLX, and X11 is not enabled - disabling") + SET(BRLCAD-ENABLE_RTGL OFF CACHE BOOL "Enable experimental RTGL code." FORCE) +ENDIF(NOT BRLCAD-ENABLE_X11 AND BRLCAD-ENABLE_RTGL) # Enable JOVE. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |