package/stellarium: fix build without qt5serialport
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>
This commit is contained in:
parent
15ac93f24c
commit
d6189db665
@ -30,9 +30,13 @@ STELLARIUM_DEPENDENCIES += qt5serialport
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user