diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-10-14 15:43:34 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-10-15 08:26:59 +0200 |
commit | 4704acf63f4fed3a99fc95ff63c82eb5a9ae3908 (patch) | |
tree | 4766526f4e060537e8fb965e5dbc6c1e24e4b465 /cui/source | |
parent | 46d630f98f1c07ec2048da35d1a4804181148ac5 (diff) |
move HAVE_FEATURE_DESKTOP/OPENCL to their dedicated headers
HAVE_FEATURE_OPENCL is included by a common Calc header
and HAVE_FEATURE_DESKTOP is included by a common Writer header,
causing pretty much their full rebuilds if any feature changes.
Change-Id: If29bf78bd4fd70b37981e0826a577777fd255c89
Reviewed-on: https://gerrit.libreoffice.org/80776
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/about.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/treeopt.cxx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index 06ead113ddb8..614c559e1039 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <config_features.h> +#include <config_feature_opencl.h> #include <osl/process.h> #include <sal/log.hxx> #include <osl/diagnose.h> diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index b923e4b0bc2a..f36a8ab76029 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -19,6 +19,8 @@ #include <memory> #include <config_features.h> +#include <config_feature_opencl.h> +#include <config_feature_desktop.h> #include <config_gpgme.h> #include <svx/dialogs.hrc> |