commit 25695cf766b4eeb662b723be72b009c67a6f36fb
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jul 24 11:17:55 2020 +0100
Use old cmake macro
kodi-pvr-stalker.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/kodi-pvr-stalker.spec b/kodi-pvr-stalker.spec
index 3e5ac5f..ab3eaff 100644
--- a/kodi-pvr-stalker.spec
+++ b/kodi-pvr-stalker.spec
@@ -1,3 +1,6 @@
+# Use old cmake macro
+%global __cmake_in_source_build 1
+
%global kodi_addon pvr.stalker
%global kodi_version 18.0
%global kodi_codename Matrix
@@ -38,7 +41,7 @@ ExcludeArch: %{power64} ppc64le
%build
#
https://gitlab.kitware.com/cmake/cmake/issues/17555#note_355574
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
-%cmake3
+%cmake3 .
%make_build