Bug 308759 - Forgotten "${...}" witihin CMakeLists.txt
Summary: Forgotten "${...}" witihin CMakeLists.txt
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 4.10
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-21 16:08 UTC by Alexey D.
Modified: 2012-10-29 17:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.10
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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