Fix the build after cmake changes in F33

https://bugzilla.redhat.com/show_bug.cgi?id=1864157
This commit is contained in:
Kalev Lember 2020-08-26 12:17:57 +02:00
parent 1f0fbf3f75
commit c98b2f244d
1 changed files with 6 additions and 8 deletions

View File

@ -33,22 +33,20 @@ data in real time and show player's position in a map.
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
mkdir -p external/glm/glm-prefix/src
cp -a %{S:1} external/glm/glm-prefix/src/
mkdir -p %{__cmake_builddir}/external/glm/glm-prefix/src
cp -a %{S:1} %{__cmake_builddir}/external/glm/glm-prefix/src/
%{cmake} \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_MAP=OFF \
-DWITH_UPDATER=OFF \
..
popd
%{nil}
%make_build -C %{_target_platform}
%cmake_build
%install
%make_install -C %{_target_platform}
%cmake_install
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.mume.MMapper.appdata.xml
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.mume.MMapper.desktop