On Tue, Aug 4, 2020 at 3:12 PM Neal Gompa <ngompa13@xxxxxxxxx> wrote: > On Tue, Aug 4, 2020 at 9:10 AM Richard Shaw <hobbes1069@xxxxxxxxx> wrote: > > On Tue, Aug 4, 2020 at 6:17 AM Michal Schorm <mschorm@xxxxxxxxxx> wrote: > >> > >> Since this change, all (subsequent) CMake commands (after "%cmake") > >> MUST be used with the builddir argument ( "-B %{__cmake_builddir}" ). > > > > Ok, I'll use that in the future, but it still needs a mention in the guidelines :) > > > You are not supposed to use %__cmake_builddir. You say I'm not supposed to use that macro, but that's exactly the macro I need. > That macro only exists > so we don't have to mutate %_vpath_builddir when switching behaviors > through %__cmake_in_source_build. Any other way would do exactly what you just wrote here - I would be re-implementing this macro - which doesn't make sense. I'm open to new ideas, but this (using the "%__cmake_builddir" ) sounds like the most straightforward and easy way to do it. -- Michal Schorm Software Engineer Core Services - Databases Team Red Hat _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx