Improve compatibility with new CMake macro
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
f0e2d1e174
commit
e829ef7849
@ -1,3 +1,5 @@
|
|||||||
|
%undefine __cmake_in_source_build
|
||||||
|
|
||||||
Name: wpebackend-fdo
|
Name: wpebackend-fdo
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -30,16 +32,11 @@ files for developing applications that use %{name}.
|
|||||||
%autosetup -p1 -n %{name}-%{version}
|
%autosetup -p1 -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p %{_target_platform}
|
%cmake
|
||||||
pushd %{_target_platform}
|
%cmake_build
|
||||||
%cmake \
|
|
||||||
..
|
|
||||||
popd
|
|
||||||
|
|
||||||
%make_build -C %{_target_platform}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install -C %{_target_platform}
|
%cmake_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user