[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars
From: Akarsh Simha <akarshsimha () gmail ! com>
Date: 2011-01-01 4:27:26
Message-ID: 20110101042726.B31C4AC8B9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1210554 by asimha:
Get CMake to tell us if GL is present or not.
[Still untested]
M +4 -0 CMakeLists.txt
M +2 -0 kstars/skymap.cpp
--- trunk/KDE/kdeedu/kstars/CMakeLists.txt #1210553:1210554
@@ -22,6 +22,10 @@
macro_bool_to_01(XPLANET_FOUND HAVE_XPLANET)
macro_log_feature(XPLANET_FOUND "XPlanet" "Renders an image of all the major planets \
and most satellites" "http://xplanet.sourceforge.net/" FALSE "1.0" "Gives KStars \
support for xplanet.")
+macro_optional_find_package(OpenGL)
+macro_bool_to_01(OPENGL_FOUND HAVE_OPENGL)
+macro_log_feature(OPENGL_FOUND "OpenGL" "3D Graphics Library" \
"http://www.opengl.org/" FALSE "" "Allows for OpenGL rendering in KStars, which is \
generally faster on hardware with graphics acceleration.") +
include_directories(${CMAKE_CURRENT_BINARY_DIR})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-kstars.h.cmake \
${CMAKE_CURRENT_BINARY_DIR}/config-kstars.h )
--- trunk/KDE/kdeedu/kstars/kstars/skymap.cpp #1210553:1210554
@@ -239,7 +239,9 @@
m_SkyMapDraw = m_SkyMapQDraw;
#else
+
m_SkyMapDraw = new SkyMapQDraw( this );
+
#endif
m_SkyMapDraw->setParent( this->viewport() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic