In README-MSYS2.md there are recommended cmake build flags:
However I think they are not really correct, or am I overlooking something?
The options WITH_JAVA, WITH_PYTHON and WITH_PERL should be
BUILD_JAVA, BUILD_PYTHON and BUILD_PERL, respectively. At least
I could not find the WITH_XXX variants in CMakeLists.txt.
The options CMAKE_MAKE_PROGRAM, CMAKE_C_COMPILER and
CMAKE_CXX_COMPILER should be optional and not required. I think
they are rather confusing since these compilers should be the default for
a MINGW build shell.
Finally, the readme recommends to install
The openssl and zlib variants used here are from MSYS2, not MinGW64.
If there is no strong reason to use those, I think its recommended to use
the MinGW46 variants instead:
My suggested options "build for me" so they come with at least a bit