blob: e8d1d8c341abd435f29ff4c07e6e359315dfbaf3 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From bed4cf4aaa6aad4172ec9942e9039fb8e1ef68a4 Mon Sep 17 00:00:00 2001
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05002From: 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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015---
16 Source/cmake/OptionsGTK.cmake | 6 ------
17 1 file changed, 6 deletions(-)
18
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019diff --git a/Source/cmake/OptionsGTK.cmake b/Source/cmake/OptionsGTK.cmake
20index 661b40e..404441b 100644
21--- a/Source/cmake/OptionsGTK.cmake
22+++ b/Source/cmake/OptionsGTK.cmake
23@@ -352,12 +352,6 @@ if (ENABLED_COMPILER_SANITIZERS)
24 set(ENABLE_INTROSPECTION OFF)
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025 endif ()
26
27-# Override the cached variables, gtk-doc and gobject-introspection do not really work when cross-building.
28-if (CMAKE_CROSSCOMPILING)
29- set(ENABLE_GTKDOC OFF)
30- set(ENABLE_INTROSPECTION OFF)
31-endif ()
32-
Patrick Williamsc0f7c042017-02-23 20:41:17 -060033 # Override the cached variable, gtk-doc does not really work when building on Mac.
34 if (APPLE)
35 set(ENABLE_GTKDOC OFF)