Bug 308759

Summary: Forgotten "${...}" witihin CMakeLists.txt
Product: [Plasma] kwin Reporter: Alexey D. <k0s_j532lga7z>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: 4.10   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.10
Sentry Crash Report:

Description Alexey D. 2012-10-21 16:08:54 UTC
I found typo in kde-workspace/kwin/libkwineffects/CMakeLists.txt (37 ln.):

macro( KWIN4_ADD_GLUTILS_BACKEND name glinclude )
    include_directories(${glinclude})
    if(OPENGL_EGL_FOUND)
        include_directories(OPENGLES_EGL_INCLUDE_DIR)
    endif(OPENGL_EGL_FOUND)

OPENGLES_EGL_INCLUDE_DIR variable isn't wrapped by "${...}". As result compiler gets wrong include option and build fails.

Reproducible: Always
Comment 1 Martin Flöser 2012-10-29 17:08:29 UTC
Git commit 5250a6277aac37ec47dcad787a5590a94aab85d0 by Christophe Giboudeaux.
Committed on 29/10/2012 at 17:20.
Pushed by cgiboudeaux into branch 'master'.

Fix include

M  +1    -1    kwin/libkwineffects/CMakeLists.txt

http://commits.kde.org/kde-workspace/5250a6277aac37ec47dcad787a5590a94aab85d0