package/ogre: drop python2 support
Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
e45321b19c
commit
2d7b5748bd
@ -42,9 +42,8 @@ OGRE_CONF_OPTS = -DOGRE_BUILD_DEPENDENCIES=OFF \
|
||||
-DCMAKE_CXX_FLAGS="$(OGRE_CXXFLAGS)"
|
||||
|
||||
# Enable optional python component if python interpreter is present on the target.
|
||||
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
||||
OGRE_DEPENDENCIES += host-swig \
|
||||
$(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
OGRE_DEPENDENCIES += host-swig host-python3
|
||||
OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=ON
|
||||
else
|
||||
OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=OFF
|
||||
|
Loading…
Reference in New Issue
Block a user