[WPE] Forward libepoxy cflags
authorcturner@igalia.com <cturner@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 May 2019 18:46:55 +0000 (18:46 +0000)
committercturner@igalia.com <cturner@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 May 2019 18:46:55 +0000 (18:46 +0000)
https://bugs.webkit.org/show_bug.cgi?id=197784

Reviewed by Žan Doberšek.

* wpe/backends/CMakeLists.txt: This is required to keep
-DMESA_EGL_NO_X11_HEADERS in the build, if we don't do this, EGL ends
up trying to include X11 headers even when they're not present in the
environment.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/wpe/backends/CMakeLists.txt

index 940e3ff..38fae6a 100644 (file)
@@ -1,3 +1,17 @@
+2019-05-10  Charlie Turner  <cturner@igalia.com>
+
+        [WPE] Forward libepoxy cflags
+        https://bugs.webkit.org/show_bug.cgi?id=197784
+
+        Reviewed by Žan Doberšek.
+
+        Patch by Zan Dobersek.
+
+        * wpe/backends/CMakeLists.txt: This is required to keep
+        -DMESA_EGL_NO_X11_HEADERS in the build, if we don't do this, EGL ends
+        up trying to include X11 headers even when they're not present in the
+        environment.
+
 2019-05-10  Michael Catanzaro  <mcatanzaro@igalia.com>
 
         Fix a bunch of compiler warnings
index f6a1708..98f46ee 100644 (file)
@@ -36,6 +36,8 @@ set(WPEToolingBackends_LIBRARIES
     ${WPEBACKEND_FDO_LIBRARIES}
 )
 
+add_definitions(${LIBEPOXY_DEFINITIONS})
+
 add_custom_command(
     OUTPUT ${DERIVED_SOURCES_WPETOOLINGBACKENDS_DIR}/xdg-shell-unstable-v6-protocol.c
     MAIN_DEPENDENCY ${WAYLAND_PROTOCOLS_DATADIR}/unstable/xdg-shell/xdg-shell-unstable-v6.xml