SHA256
1
0
forked from pool/slade

Enable use of system fmt

This commit is contained in:
Jan Engelhardt 2024-11-27 21:48:38 +01:00
parent 2cdd65b844
commit ae3a81c728

View File

@ -47,6 +47,11 @@ BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libmpg123)
BuildRequires: pkgconfig(sfml-all)
BuildRequires: pkgconfig(x11)
%if 0%{?suse_version} >= 1600
BuildRequires: fmt-10-devel
%else
Provides: bundled(fmt) = 10
%endif
Provides: bundled(dumb) = 0.9.3
%description
@ -63,7 +68,10 @@ from/to other generic formats such as PNG.
%cmake -DNO_WEBVIEW=ON -DWX_GTK3=OFF -DNO_CRASHHANDLER=ON \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="%optflags" \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="%optflags" \
-DNO_LUA:BOOL=TRUE
%if 0%{?suse_version} >= 1600
-DUSE_SYSTEM_FMT:BOOL=ON \
%endif
-DNO_LUA:BOOL=ON
%cmake_build
%install