From d1e79b4c95b9ae0590f5a2155517934daaef59f1 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 16 Jul 2023 15:55:57 +0200 Subject: [PATCH] package/supertuxkart: fix build with bluetooth enabled The wiiuse code force an out-of-tree build: https://github.com/supertuxkart/stk-code/blob/master/lib/wiiuse/cmake/cmake-4.0.0-modules/RequireOutOfSourceBuild.cmake#L41 Fixes a build error not yet caught by the autobuilders: -- Configuring WiiUse version 0.15.5 CMake Error at lib/wiiuse/cmake/cmake-4.0.0-modules/RequireOutOfSourceBuild.cmake:41 (message): You must set a binary directory that is different from your source directory. You might consider Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/supertuxkart/supertuxkart.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/supertuxkart/supertuxkart.mk b/package/supertuxkart/supertuxkart.mk index 1f9ad4102b..6bdd512eac 100644 --- a/package/supertuxkart/supertuxkart.mk +++ b/package/supertuxkart/supertuxkart.mk @@ -44,6 +44,7 @@ SUPERTUXKART_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF \ ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) SUPERTUXKART_DEPENDENCIES += bluez5_utils SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=ON -DUSE_SYSTEM_WIIUSE=ON +SUPERTUXKART_SUPPORTS_IN_SOURCE_BUILD = NO else # Wiimote support relies on bluez5. SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=OFF