From 07040469709719360c561f798e21f6262735ebb5 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sat, 18 Jul 2020 15:08:42 +0200 Subject: [PATCH] Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- kwayland-integration.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/kwayland-integration.spec b/kwayland-integration.spec index b8ddb42..971adb0 100644 --- a/kwayland-integration.spec +++ b/kwayland-integration.spec @@ -1,3 +1,4 @@ +%undefine __cmake_in_source_build %global wayland_min_version 1.3 Name: kwayland-integration @@ -37,16 +38,12 @@ Requires: kf5-filesystem %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. -popd - -make %{?_smp_mflags} -C %{_target_platform} +%{cmake_kf5} +%cmake_build %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%cmake_install %ldconfig_scriptlets