Set USE_PLUGIN_TELESCOPECONTROL depending on qt5serialport availability
Fixes:
- http://autobuild.buildroot.org/results/
01452113e984de0ddf177a513d20287c96ebe0a3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
ifeq ($(BR2_PACKAGE_GPSD),y)
STELLARIUM_DEPENDENCIES += gpsd
endif
-STELLARIUM_CONF_OPTS += -DENABLE_GPS=ON
+STELLARIUM_CONF_OPTS += \
+ -DENABLE_GPS=ON \
+ -DUSE_PLUGIN_TELESCOPECONTROL=ON
else
-STELLARIUM_CONF_OPTS += -DENABLE_GPS=OFF
+STELLARIUM_CONF_OPTS += \
+ -DENABLE_GPS=OFF \
+ -DUSE_PLUGIN_TELESCOPECONTROL=OFF
endif
$(eval $(cmake-package))