Fix flatpak build

As a build-time-only dependency, the system doxygen in /usr is used
even when building jsoncpp for flatpaks in /app.
This commit is contained in:
Yaakov Selkowitz 2023-09-03 14:01:41 -04:00
parent ab8864f658
commit a4863f1b97

View File

@ -78,7 +78,7 @@ sed -i -e 's!^DOT_FONTNAME.*=.*!DOT_FONTNAME =!g' doc/doxyfile.in
%if %{with jsoncpp_enables_doc}
# Build the doc
cp -p %{__cmake_builddir}/version .
%{__python3} doxybuild.py --with-dot --doxygen %{_bindir}/doxygen
%{__python3} doxybuild.py --with-dot --doxygen /usr/bin/doxygen
rm -f version
%endif