commit e2f93e1a36d70e7f50d35d0e4d93b86c048923a6
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Mar 1 17:09:33 2022 +0000
Fix cmake build
lightspark.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lightspark.spec b/lightspark.spec
index e7d5044..ef19b69 100644
--- a/lightspark.spec
+++ b/lightspark.spec
@@ -5,6 +5,8 @@
%global commit_short %(c=%{commit}; echo ${c:0:7})
%global date 20170422
+%undefine __cmake_in_source_build
+
Name: lightspark
Version: 0.8.5
Release: 6%{?git_snapshot:.%{date}git%{commit_short}}%{?dist}
@@ -90,8 +92,7 @@ This is the Chromium compatible plugin for %{name}.
-DPLUGIN_DIRECTORY="%{_libdir}/mozilla/plugins" \
-DPPAPI_PLUGIN_DIRECTORY="%{_libdir}/chromium-browser/PepperFlash/" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-%{?with_tightspark: -DCOMPILE_TIGHTSPARK=1} \
- .
+%{?with_tightspark: -DCOMPILE_TIGHTSPARK=1}
%cmake3_build