Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From bed4cf4aaa6aad4172ec9942e9039fb8e1ef68a4 Mon Sep 17 00:00:00 2001 |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Mon, 29 Feb 2016 18:13:39 +0200 |
| 4 | Subject: [PATCH] OptionsGTK.cmake: drop the hardcoded introspection/gtkdoc |
| 5 | disabling when cross-compiling |
| 6 | |
| 7 | This 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, |
| 9 | through the use of qemu target emulation. |
| 10 | |
| 11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 12 | |
| 13 | Upstream-Status: Pending |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 15 | --- |
| 16 | Source/cmake/OptionsGTK.cmake | 6 ------ |
| 17 | 1 file changed, 6 deletions(-) |
| 18 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | diff --git a/Source/cmake/OptionsGTK.cmake b/Source/cmake/OptionsGTK.cmake |
| 20 | index 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 Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 25 | 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 Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 33 | # Override the cached variable, gtk-doc does not really work when building on Mac. |
| 34 | if (APPLE) |
| 35 | set(ENABLE_GTKDOC OFF) |