diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2018-11-21 13:35:15 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2018-11-22 07:46:24 +0000 |
commit | 5241d8c727d8e45d0266d486958e6e566563e1c8 (patch) | |
tree | 605ac14cfdeca5a32a5c2e2c790d299aca27c984 /src/plugins | |
parent | b172080b7b03c0ffb3115d3d50a7c75765480271 (diff) | |
download | qtlocation-5241d8c727d8e45d0266d486958e6e566563e1c8.tar.gz |
Do not build geoclue plugins on platforms != linux
While dbus might be available on other platforms, the plugin might not be
functional and thus should not be built on these.
Change-Id: I7671a3ecaba6944f99317eee4f7738a7df98ba10
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/position/position.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro index 4453b8a3..6800d5a3 100644 --- a/src/plugins/position/position.pro +++ b/src/plugins/position/position.pro @@ -2,8 +2,8 @@ TEMPLATE = subdirs QT_FOR_CONFIG += positioning-private -qtHaveModule(dbus):SUBDIRS += geoclue -qtHaveModule(dbus):SUBDIRS += geoclue2 +linux:qtHaveModule(dbus):SUBDIRS += geoclue +linux:qtHaveModule(dbus):SUBDIRS += geoclue2 qtConfig(gypsy):SUBDIRS += gypsy qtConfig(winrt_geolocation):SUBDIRS += winrt qtHaveModule(simulator):SUBDIRS += simulator |