commit b1a5f284aead9b1a64a71707346b993479dcfc91
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Aug 18 18:36:25 2020 +0100
Improve compatibility with new CMake macro
olive.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/olive.spec b/olive.spec
index 917cd91..f7cd22e 100644
--- a/olive.spec
+++ b/olive.spec
@@ -9,6 +9,8 @@
%global unique_name org.olivevideoeditor.Olive
%global appl_name application-vnd.olive-project
+%undefine __cmake_in_source_build
+
Name: olive
Version: 0.1.2
%if 0%{?usesnapshot}
@@ -68,11 +70,11 @@ A Feature list is a the moment not available.
sed -i -e 's@3.4@(a)g' CMakeLists.txt
%build
-%cmake3 .
-%make_build
+%cmake3
+%cmake3_build
%install
-%make_install INSTALL_ROOT=%{buildroot}
+%cmake3_install
rm -rf %buildroot/usr/share/icons/hicolor/1024x1024
#%%find_lang %%{name} --all-name --with-qt
Show replies by date