<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] cmake should permit build when enable_opengl=OFF and enable_wayland=ON"
   href="https://bugs.webkit.org/show_bug.cgi?id=146891">146891</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK]  cmake should permit build when enable_opengl=OFF  and enable_wayland=ON
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>420+
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P3
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>unixman&#64;archlinux.info
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 &amp;&amp; m_eglDisplay != EGL_NO_DISPLAY &amp;&amp; m_eglConfigChosen; }

in compilation stage later.

webkitgtk-2.9.3</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>