blob: 0f6eeed1a2eded76503243d36864ca5ff7ad2b3a [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 48648570e449cf7f84a26dc03c1e3f620fa69757 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 29 Feb 2016 18:13:39 +0200
4Subject: [PATCH] OptionsGTK.cmake: drop the hardcoded introspection/gtkdoc
5 disabling when cross-compiling
6
7This was not possible to override from the command line and in OpenEmbedded
8(one of the most prominent cross-compilation frameworks) introspection does work fine,
9through the use of qemu target emulation.
10
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050012
13Upstream-Status: Pending
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050014---
15 Source/cmake/OptionsGTK.cmake | 6 ------
16 1 file changed, 6 deletions(-)
17
Patrick Williamsc0f7c042017-02-23 20:41:17 -060018Index: webkitgtk-2.12.1/Source/cmake/OptionsGTK.cmake
19===================================================================
20--- webkitgtk-2.12.1.orig/Source/cmake/OptionsGTK.cmake
21+++ webkitgtk-2.12.1/Source/cmake/OptionsGTK.cmake
22@@ -424,12 +424,6 @@ if (USE_LIBHYPHEN)
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023 endif ()
24 endif ()
25
26-# Override the cached variables, gtk-doc and gobject-introspection do not really work when cross-building.
27-if (CMAKE_CROSSCOMPILING)
28- set(ENABLE_GTKDOC OFF)
29- set(ENABLE_INTROSPECTION OFF)
30-endif ()
31-
Patrick Williamsc0f7c042017-02-23 20:41:17 -060032 # Override the cached variable, gtk-doc does not really work when building on Mac.
33 if (APPLE)
34 set(ENABLE_GTKDOC OFF)