From 4a673113a04039f7b1de7feadd2e35fb6c9c6a04 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 6 Aug 2020 10:45:28 +0200 Subject: [PATCH] adaptations for CMake out-of-tree builds See: https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds --- baloo-widgets.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/baloo-widgets.spec b/baloo-widgets.spec index 1225157..6766d4d 100644 --- a/baloo-widgets.spec +++ b/baloo-widgets.spec @@ -53,16 +53,12 @@ Requires: kf5-kio-devel %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - -%make_build -C %{_target_platform} +%cmake_kf5 +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang %{name} --all-name