Bug 146891 - [GTK] cmake should permit build when enable_opengl=OFF and enable_wayland=ON
Summary: [GTK] cmake should permit build when enable_opengl=OFF and enable_wayland=ON
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 420+
Hardware: PC Linux
: P3 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-12 02:23 PDT by nick
Modified: 2017-03-11 10:57 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nick 2015-07-12 02:23:01 PDT
currently cmake allow genaration of makefile in case of  

-DENABLE_WAYLAND_TARGET=ON  -DENABLE_OPENGL=OFF but it shouldn't allow this.

Because of it results:

[ 83%] Building CXX object Source/WebCore/CMakeFiles/WebCorePlatformGTK.dir/platform/graphics/PlatformDisplay.cpp.o
In file included from /home/me/src/webkitgtk-2.9.3/Source/WebCore/platform/graphics/PlatformDisplay.cpp:37:0:
/home/me/src/webkitgtk-2.9.3/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.h: In member function ‘bool WebCore::PlatformDisplayWayl
and::isInitialized()’:
/home/me/src/webkitgtk-2.9.3/Source/WebCore/platform/graphics/wayland/PlatformDisplayWayland.h:63:51: error: ‘m_eglDisplay’ was not declared in this 
scope
     bool isInitialized() { return m_compositor && m_eglDisplay != EGL_NO_DISPLAY && m_eglConfigChosen; }

in compilation stage later.

webkitgtk-2.9.3