Re: [PATCH v4 6/8] cmake: support for building git on windows with mingw
From: Øystein Walle <hidden>
Date: 2020-06-15 14:03:58
From: Øystein Walle <hidden>
Date: 2020-06-15 14:03:58
+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 Øsse