In the fmt.spec you posted, I see
>
> %mingw_cmake -G Ninja [...]
>
> this means that you are generating ninja build scripts, not Makefiles. If
> you want to use ninja, you should call
>
> %mingw_ninja
>
> after %mingw_cmake -G Ninja.
>
Thanks! That appears to be the right thing for the %build
On 29.01.24 10:38 PM, Eric Smith wrote:
On Mon, Jan 29, 2024, 02:32 Sandro Mani wrote:
For mingw, the most common approach is
%build
%mingw_cmake
%mingw_make_build
%install
%mingw_make_install
# Don't forget this one
|%mingw_debug_install_post|
Thank you,
For mingw the more recent "%cmake_build" and "%cmake_install" have never
been implemented (one could add them [1]).
For mingw, the most common approach is
%build
%mingw_cmake
%mingw_make_build
%install
%mingw_make_install
# Don't forget this one
|%mingw_debug_install_post|
See also [1] for
I'm trying to add mingw build support to the fmt package spec. I've done
this previously with the pugixml and zipios packages, and submitted the
spec diffs to the package maintainer of those.. Both packages use cmake.
Both in the %build section use %cmake then %cmake_build, and in the
%install