Re: [PATCH v4 6/8] cmake: support for building git on windows with mingw
- From
Sibi Siddharthan <sibisiddharthan.github@gmail.com>
- Date
- Jun 15, 2020, 19:47 UTC
- Message-ID
- <CAKiG+9X66yf_F8F3XuYFdFyBWiFRZ_rf0Y1mE5LVCjsi-AzKbg@mail.gmail.com>
- In-Reply-To
- <20200615140349.1783-1-oystwa@gmail.com>
On Mon, Jun 15, 2020 at 7:33 PM Øystein Walle <oystwa@gmail.com> wrote:
Show 10 quoted lines
> > > +if(WIN32) > > + set(EXE_EXTENSION .exe) > > +else() > > + set(EXE_EXTENSION) > > +endif() > > You can probably use CMAKE_EXECUTABLE_SUFFIX here. See: > https://cmake.org/cmake/help/latest/variable/CMAKE_EXECUTABLE_SUFFIX.html >
Could have done it that way, will try to change it once the patch series gets merged with next or master.
> Øsse >