NEW 146891
[GTK] cmake should permit build when enable_opengl=OFF and enable_wayland=ON
https://bugs.webkit.org/show_bug.cgi?id=146891
Summary [GTK] cmake should permit build when enable_opengl=OFF and enable_wayland=ON
nick
Reported 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
Attachments
Note You need to log in before you can comment on or make changes to this bug.