Adding an option to enable building for mobile.
Needs a change to workspace CMakeLists.txt
This commit is contained in:
parent
f925352e73
commit
979490c134
1 changed files with 3 additions and 3 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue