Dominique Leuenberger 2021-05-14 23:24:25 +00:00 committed by Git OBS Bridge
commit c67a933bdf
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 14 08:38:18 UTC 2021 - Simon Lees <sflees@suse.de>
- %cmake_build is now the recommended way to build cmake projects
- DCMAKE_INSTALL_PREFIX is set by the cmake macro
-------------------------------------------------------------------
Tue Apr 13 12:52:41 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -53,9 +53,8 @@ It has 4-player cooperative mode and six difficulty modes.
%cmake \
-DBUILD_STATIC_LIBS:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX="%_prefix" \
-DAPPDIR="%_bindir"
%make_jobs
%cmake_build
%install
%cmake_install