From 979490c13419a23e95a3c2c5b003e04fbea56a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 4 Dec 2010 16:22:06 +0100 Subject: [PATCH] Adding an option to enable building for mobile. Needs a change to workspace CMakeLists.txt --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4366a94d88..eecf901ccf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,11 +16,11 @@ if( KWIN_HAVE_COMPOSITING AND X11_Xrender_FOUND AND X11_Xfixes_FOUND ) endif( KWIN_HAVE_COMPOSITING AND X11_Xrender_FOUND AND X11_Xfixes_FOUND ) # KWIN_HAVE_OPENGLES_COMPOSITING - whether OpenGL ES-based compositing support is available -if( KWIN_HAVE_COMPOSITING AND OPENGLES_FOUND ) +if( KWIN_HAVE_COMPOSITING AND OPENGLES_FOUND AND KWIN_BUILD_WITH_OPENGLES) set( KWIN_HAVE_OPENGL_COMPOSITING 1) set( KWIN_HAVE_OPENGLES_COMPOSITING 1 ) - message("Comiling KWin for mobile.") -endif( KWIN_HAVE_COMPOSITING AND OPENGLES_FOUND ) + message("Compiling KWin for mobile.") +endif( KWIN_HAVE_COMPOSITING AND OPENGLES_FOUND AND KWIN_BUILD_WITH_OPENGLES ) # safety if( KWIN_HAVE_OPENGL_COMPOSITING OR KWIN_HAVE_XRENDER_COMPOSITING )